commit | 3f5b06f5e0a70af0eb397a092c32b805cf1a7c4b | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Thu Jan 11 21:02:00 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Thu Jan 11 21:02:00 2018 -0800 |
tree | ae3608d5a28b814e44f01801a3fc354d45b11dc6 | |
parent | 7c6e0f4c806641ad49dd0fafce4bdb4b43bbe2dc [diff] |
Document the hygiene behavior of syn::parse_str
diff --git a/src/lib.rs b/src/lib.rs index 12e345d..77b0d23 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -610,6 +610,11 @@ /// /// *This function is available if Syn is built with the `"parsing"` feature.* /// +/// # Hygiene +/// +/// Every span in the resulting syntax tree will be set to resolve at the macro +/// call site. +/// /// # Examples /// /// ```rust