From a609fac447190515c167365f4a4be50c45f29a72 Mon Sep 17 00:00:00 2001 From: cod10129 <110200933+cod10129@users.noreply.github.com> Date: Tue, 31 Oct 2023 19:25:40 -0500 Subject: [PATCH] Fixed typo impl Finish for IResult Err::Incomplete panic message had a double-space --- src/internal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.rs b/src/internal.rs index a09830835..e5896799d 100644 --- a/src/internal.rs +++ b/src/internal.rs @@ -39,7 +39,7 @@ impl Finish for IResult { Ok(res) => Ok(res), Err(Err::Error(e)) | Err(Err::Failure(e)) => Err(e), Err(Err::Incomplete(_)) => { - panic!("Cannot call `finish()` on `Err(Err::Incomplete(_))`: this result means that the parser does not have enough data to decide, you should gather more data and try to reapply the parser instead") + panic!("Cannot call `finish()` on `Err(Err::Incomplete(_))`: this result means that the parser does not have enough data to decide, you should gather more data and try to reapply the parser instead") } } }