From 46b4ef9bb48fa48b33780096e53389d9ae144e3b Mon Sep 17 00:00:00 2001 From: tummychow Date: Thu, 15 Feb 2018 22:50:24 -0800 Subject: remove static lifetime clippy says this is the default for consts. flycheck was supposed to notify me? *grumbles in elisp* --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d94f19b..4480246 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -21,7 +21,7 @@ impl error::Error for Error { } } -pub const MAX_STACK_CONFIG_NAME: &'static str = "absorb.maxStack"; +pub const MAX_STACK_CONFIG_NAME: &str = "absorb.maxStack"; pub const MAX_STACK: usize = 10; pub struct Config<'a> { -- cgit v1.2.3