commit | 461d98ee7c6a61d5ee07f9d06fde8e07eff6bc4a | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Jan 07 11:07:19 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Jan 07 11:07:19 2018 -0800 |
tree | 6c66dc7913726a98eb7d3f19da6e01faa541b06b | |
parent | 614a01433b021d24359eca97d0f8619f250fa3db [diff] [blame] |
Document what feature everything requires
diff --git a/src/file.rs b/src/file.rs index 5875348..357cf6e 100644 --- a/src/file.rs +++ b/src/file.rs
@@ -10,6 +10,8 @@ ast_struct! { /// A complete file of Rust source code. + /// + /// *This type is available if Syn is built with the `"full"` feature.* pub struct File { pub shebang: Option<String>, pub attrs: Vec<Attribute>,