commit | 33505d7f7338b6ef88b4b22f07e4f5ab30d3e4c9 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 11:30:29 2016 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Sep 04 11:30:29 2016 -0700 |
tree | 2dd45ad4b132dcda8458437e0e98e8673c50d3b9 | |
parent | 86eca7562ae47cdd84d4ec0465b6c3b02b38e17c [diff] |
Remove unwrap() call in readme
Parse Rust structs and enums without a Syntex dependency, intended for use with Macros 1.1.
[dependencies] item = "0.2"
extern crate item; let raw = " #[derive(Debug, Clone)] pub struct Item { pub ident: Ident, pub attrs: Vec<Attribute>, } "; let ast = item::parse(raw);
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.