From 69628bfa3de4750446604985807c35e7997ab97d Mon Sep 17 00:00:00 2001 From: cod10129 <110200933+cod10129@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:32:15 -0600 Subject: [PATCH] Fixed typo (#1705) 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") } } }