commit | 50fa4689cfa6699277e75396d2a8e9fc4e5cd304 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Tue Dec 26 23:17:22 2017 -0500 |
committer | David Tolnay <dtolnay@gmail.com> | Tue Dec 26 23:17:22 2017 -0500 |
tree | 0826533409ad26a5009c2acf5b285e3ce6aaa58a | |
parent | 1c03d8c8adf1989532455d146dd07d3b0bc05cf3 [diff] [blame] |
Resolve clippy lint in cursor impl
diff --git a/src/cursor.rs b/src/cursor.rs index 3732454..0ed3bb4 100644 --- a/src/cursor.rs +++ b/src/cursor.rs
@@ -46,7 +46,7 @@ // in the list to be processed later. let mut entries = Vec::new(); let mut seqs = Vec::new(); - for tt in stream.into_iter() { + for tt in stream { match tt.kind { TokenNode::Term(sym) => { entries.push(Entry::Term(tt.span, sym));