rust-clippy/clippy_lints/src/utils/sym.rs

7 lines
118 B
Rust
Raw Normal View History

2019-05-17 21:53:54 +00:00
#[macro_export]
macro_rules! sym {
($tt:tt) => {
syntax::symbol::Symbol::intern(stringify!($tt))
2019-05-13 23:34:08 +00:00
};
}