diff --git a/src/combinator/mod.rs b/src/combinator/mod.rs index 96faa3fa..fe6655b9 100644 --- a/src/combinator/mod.rs +++ b/src/combinator/mod.rs @@ -845,11 +845,11 @@ where /// use nom::character::complete::alpha1; /// # fn main() { /// -/// fn parser1(i: &str) -> IResult<&str, &str> { -/// alpha1(i) -/// } +/// fn parser1(i: &str) -> IResult<&str, &str> { +/// alpha1(i) +/// } /// -/// let mut parser2 = into(parser1); +/// let mut parser2 = into(parser1); /// /// // the parser converts the &str output of the child parser into a Vec /// let bytes: IResult<&str, Vec> = parser2.parse("abcd");