From 67a812003a18cca016ff8b918610b4b6276ffd86 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 27 Sep 2023 17:10:50 +0200 Subject: chore: move bounds to where clause --- src/naive_parser.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/naive_parser.rs b/src/naive_parser.rs index c305343..93c37d7 100644 --- a/src/naive_parser.rs +++ b/src/naive_parser.rs @@ -61,7 +61,12 @@ impl, O: Offset, E: Emitter> NaiveParser { } } -impl, O: Offset, E: Emitter> Iterator for NaiveParser { +impl Iterator for NaiveParser +where + R: Reader + Position, + O: Offset, + E: Emitter, +{ type Item = Result; fn next(&mut self) -> Option { -- cgit v1.2.3