Skip to content

Commit d297063

Browse files
authored
Fix doc typos (#1813)
1 parent 83aceef commit d297063

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bytes/complete.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ where
111111
move |i: I| parser.process::<OutputM<Emit, Emit, Complete>>(i)
112112
}
113113

114-
/// Returns the longest slice of the matches the pattern.
114+
/// Returns the longest input slice (at least 1) that matches the pattern.
115115
///
116116
/// The parser will return the longest slice consisting of the characters in provided in the
117117
/// combinator's argument.

src/bytes/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ where
237237
}
238238
}
239239

240-
/// Returns the longest slice of the matches the pattern.
240+
/// Returns the longest input slice (at least 1) that matches the pattern.
241241
///
242242
/// The parser will return the longest slice consisting of the characters in provided in the
243243
/// combinator's argument.

src/bytes/streaming.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ where
108108
move |i: I| parser.process::<OutputM<Emit, Emit, Streaming>>(i)
109109
}
110110

111-
/// Returns the longest slice of the matches the pattern.
111+
/// Returns the longest input slice (at least 1) that matches the pattern.
112112
///
113113
/// The parser will return the longest slice consisting of the characters in provided in the
114114
/// combinator's argument.

0 commit comments

Comments
 (0)