diff --git a/src/kv/key.rs b/src/kv/key.rs index b0cea5cb1..5221c98f1 100644 --- a/src/kv/key.rs +++ b/src/kv/key.rs @@ -57,7 +57,7 @@ impl<'k> fmt::Display for Key<'k> { } impl<'k> AsRef for Key<'k> { - fn as_ref(&self) -> &'k str { + fn as_ref(&self) -> &str { self.as_str() } }