Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-parsec/src/lib.rs')
-rw-r--r--helix-parsec/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-parsec/src/lib.rs b/helix-parsec/src/lib.rs
index 0ec44436..846d02d6 100644
--- a/helix-parsec/src/lib.rs
+++ b/helix-parsec/src/lib.rs
@@ -43,7 +43,7 @@ pub trait Parser<'a> {
#[doc(hidden)]
impl<'a, F, T> Parser<'a> for F
where
- F: Fn(&'a str) -> ParseResult<'a, T>,
+ F: Fn(&'a str) -> ParseResult<T>,
{
type Output = T;