commit | d8a4721f189337e5598b6c7df1f4466c20d930f6 | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Sun Apr 14 13:59:22 2019 -0700 |
committer | David Tolnay <dtolnay@gmail.com> | Sun Apr 14 13:59:22 2019 -0700 |
tree | fbcbab34d0aa1ff99edf5de198466e3a7d80e213 | |
parent | 5ac27f1f823531ab584a80da74c396470c129222 [diff] [blame] |
Hide custom_punctuation_len from rustfmt
diff --git a/src/custom_punctuation.rs b/src/custom_punctuation.rs index a05e18c..3380f88 100644 --- a/src/custom_punctuation.rs +++ b/src/custom_punctuation.rs
@@ -231,6 +231,7 @@ // Not public API. #[doc(hidden)] #[macro_export(local_inner_macros)] +#[cfg_attr(rustfmt, rustfmt_skip)] macro_rules! custom_punctuation_len { ($mode:ident, +) => { 1 }; ($mode:ident, +=) => { 2 };