commit | 590cdfd074bb0e1dcfd6708b525a442593b479bd | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sat Oct 01 08:51:55 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sat Oct 01 08:51:55 2016 -0700 |
tree | 928eb4433eeebb0e7597d6d7b7752c3afe18bbae | |
parent | bd61b728161d76bb008e9b69d277195f18ce07f4 [diff] [blame] |
Clean up clippy lints
diff --git a/src/helper.rs b/src/helper.rs index 855a3cc..5086c3d 100644 --- a/src/helper.rs +++ b/src/helper.rs
@@ -40,7 +40,7 @@ } } -pub fn word_break<'a>(input: &'a str) -> IResult<&'a str, ()> { +pub fn word_break(input: &str) -> IResult<&str, ()> { match input.chars().next() { Some(ch) if UnicodeXID::is_xid_continue(ch) => { IResult::Error