cleanup: remove static lifetimes from consts

This commit is contained in:
ljedrz
2018-12-04 12:46:10 +01:00
parent 91d5d56c00
commit d0c64bb296
26 changed files with 88 additions and 91 deletions

View File

@@ -30,8 +30,7 @@ use syntax_pos::{Span, DUMMY_SP};
use deriving;
const PROC_MACRO_KINDS: [&'static str; 3] =
["proc_macro_derive", "proc_macro_attribute", "proc_macro"];
const PROC_MACRO_KINDS: [&str; 3] = ["proc_macro_derive", "proc_macro_attribute", "proc_macro"];
struct ProcMacroDerive {
trait_name: ast::Name,