Skip to content

Commit 9cf906d

Browse files
committed
appease clippy
1 parent 7e9a17b commit 9cf906d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lrpar/src/lib/ctbuilder.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,13 +826,13 @@ where
826826
use ::lrpar::{RecoveryKind, Visibility, RustEdition};
827827
use ::cfgrammar::yacc::YaccKind;
828828

829-
const BUILD_TIME: &'static str = #build_time;
830-
const GRAMMAR_PATH: &'static str = #grammar_path;
831-
const MOD_NAME: Option<&'static str> = #mod_name;
829+
const BUILD_TIME: &str = #build_time;
830+
const GRAMMAR_PATH: &str = #grammar_path;
831+
const MOD_NAME: Option<&str> = #mod_name;
832832
const RECOVERER: RecoveryKind = #recoverer;
833833
const YACC_KIND: YaccKind = #yacckind;
834834
const ERROR_ON_CONFLICTS: bool = #error_on_conflicts;
835-
const RULE_IDS_MAP: [(usize, &'static str); #rule_map_len] = [#(#rule_map,)*];
835+
const RULE_IDS_MAP: [(usize, &str); #rule_map_len] = [#(#rule_map,)*];
836836
fn visibility() -> Visibility {
837837
#visibility
838838
}

0 commit comments

Comments
 (0)