commit | 62a8b69243c4a0a3a0ff5094f5c9e80d2401cf81 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:18:21 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Wed Sep 07 08:19:28 2016 -0700 |
tree | 31236506128bdd9f1c5e48a06462bf623ff7e268 | |
parent | 1c836f75a5d1868c8463340b8867266b5a21d5b4 [diff] [blame] |
Rebrand as 'syn'
diff --git a/src/lib.rs b/src/lib.rs index c1951de..1e6cd14 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -64,7 +64,7 @@ }; #[cfg(feature = "parsing")] -pub fn parse(input: &str) -> Item { +pub fn parse_item(input: &str) -> Item { return match item::parsing::item(input) { nom::IResult::Done(rest, ast) => { if rest.is_empty() {