diff options
author | David Tolnay <dtolnay@gmail.com> | 2018-08-31 09:51:12 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2018-08-31 09:51:12 -0700 |
commit | 640239157f282aba0bd1105d4c3e19d4da41c107 (patch) | |
tree | ce34374c16d18600eb5e1703b59111c99a67187e /src/path.rs | |
parent | 346c35eee294f5198e0158f9c92676206ac5fb81 (diff) | |
download | syn-640239157f282aba0bd1105d4c3e19d4da41c107.tar.gz |
Move TokensOrDefault out of root
Diffstat (limited to 'src/path.rs')
-rw-r--r-- | src/path.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path.rs b/src/path.rs index 2dafac84..e3ae9a7a 100644 --- a/src/path.rs +++ b/src/path.rs @@ -458,9 +458,12 @@ pub mod parsing { #[cfg(feature = "printing")] mod printing { use super::*; + use proc_macro2::TokenStream; use quote::ToTokens; + use print::TokensOrDefault; + impl ToTokens for Path { fn to_tokens(&self, tokens: &mut TokenStream) { self.leading_colon.to_tokens(tokens); |