From d297063e6f75cc90b9bcf99f0932622ed58ecb5b Mon Sep 17 00:00:00 2001 From: SekoiaTree <51149447+SekoiaTree@users.noreply.github.com> Date: Sat, 8 Feb 2025 12:49:38 +0100 Subject: [PATCH] Fix doc typos (#1813) --- src/bytes/complete.rs | 2 +- src/bytes/mod.rs | 2 +- src/bytes/streaming.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bytes/complete.rs b/src/bytes/complete.rs index 780483a8..28cbb717 100644 --- a/src/bytes/complete.rs +++ b/src/bytes/complete.rs @@ -111,7 +111,7 @@ where move |i: I| parser.process::>(i) } -/// Returns the longest slice of the matches the pattern. +/// Returns the longest input slice (at least 1) that matches the pattern. /// /// The parser will return the longest slice consisting of the characters in provided in the /// combinator's argument. diff --git a/src/bytes/mod.rs b/src/bytes/mod.rs index b720df39..b5acc29d 100644 --- a/src/bytes/mod.rs +++ b/src/bytes/mod.rs @@ -237,7 +237,7 @@ where } } -/// Returns the longest slice of the matches the pattern. +/// Returns the longest input slice (at least 1) that matches the pattern. /// /// The parser will return the longest slice consisting of the characters in provided in the /// combinator's argument. diff --git a/src/bytes/streaming.rs b/src/bytes/streaming.rs index d7f97aae..e240b5e5 100644 --- a/src/bytes/streaming.rs +++ b/src/bytes/streaming.rs @@ -108,7 +108,7 @@ where move |i: I| parser.process::>(i) } -/// Returns the longest slice of the matches the pattern. +/// Returns the longest input slice (at least 1) that matches the pattern. /// /// The parser will return the longest slice consisting of the characters in provided in the /// combinator's argument.