Skip to content

Commit

Permalink
remove redundant bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed May 5, 2024
1 parent dfcd4dd commit 76ec478
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bytes/streaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ where
/// ```
pub fn take<C, I, Error: ParseError<I>>(count: C) -> impl FnMut(I) -> IResult<I, I, Error>
where
I: Input + Input,
I: Input,
C: ToUsize,
{
let mut parser = super::take(count);
Expand Down
2 changes: 1 addition & 1 deletion src/character/complete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ where
/// ```
pub fn line_ending<T, E: ParseError<T>>(input: T) -> IResult<T, T, E>
where
T: Input + Input,
T: Input,
T: Compare<&'static str>,
{
match input.compare("\n") {
Expand Down

0 comments on commit 76ec478

Please sign in to comment.