From dc3b95fd3cbe760b6604118f5744f5c1fea1097e Mon Sep 17 00:00:00 2001 From: Junfeng Liu Date: Fri, 22 Sep 2023 10:35:13 +0800 Subject: [PATCH] Remove extra type parameter of utf8::end() --- src/utf8.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utf8.rs b/src/utf8.rs index 3ceaa2c..9ccca8e 100644 --- a/src/utf8.rs +++ b/src/utf8.rs @@ -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()) }