Skip to content

Commit

Permalink
Remove extra type parameter of utf8::end()
Browse files Browse the repository at this point in the history
  • Loading branch information
J-F-Liu committed Sep 22, 2023
1 parent 0fb9611 commit dc3b95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utf8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ where
}

/// Success when end of input is reached.
pub fn end<'a, I>() -> Parser<'a, ()> {
pub fn end<'a>() -> Parser<'a, ()> {
Parser(parser::end())
}

Expand Down

0 comments on commit dc3b95f

Please sign in to comment.