From 36e74ab8991ae1656edc91c86d4386cca73e5a50 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sun, 12 May 2024 13:44:11 +0300 Subject: [PATCH] Fix indentation in nom::combinator::into example (#1761) --- src/combinator/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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");