summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortummychow <tummychow@users.noreply.github.com>2018-02-15 22:50:24 -0800
committertummychow <tummychow@users.noreply.github.com>2018-02-15 22:50:24 -0800
commit46b4ef9bb48fa48b33780096e53389d9ae144e3b (patch)
treea37f6960041c99794f58659f331c097b07f843c5
parentdc09725b60c1a7c3a2a6a78bb88c7fa38872cb61 (diff)
remove static lifetime
clippy says this is the default for consts. flycheck was supposed to notify me? *grumbles in elisp*
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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> {