commit | 0f884b12af66a1f03f9cd18ec65cea8fa77748d2 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Fri Jul 19 11:59:20 2019 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Fri Jul 19 12:03:48 2019 -0700 |
tree | 29d5be0051d17bff900aef5a3a67641072421440 | |
parent | af1e8bb3ae52388a7c1d18cc24242c88a2457a6c [diff] [blame] |
Update to 2018 edition
diff --git a/src/strnom.rs b/src/strnom.rs index 3d8ba85..eb7d0b8 100644 --- a/src/strnom.rs +++ b/src/strnom.rs
@@ -1,11 +1,9 @@ //! Adapted from [`nom`](https://github.com/Geal/nom). +use crate::fallback::LexError; use std::str::{Bytes, CharIndices, Chars}; - use unicode_xid::UnicodeXID; -use fallback::LexError; - #[derive(Copy, Clone, Eq, PartialEq)] pub struct Cursor<'a> { pub rest: &'a str,