From 134d252f0599d19070fd02f93600d48254e6f91f Mon Sep 17 00:00:00 2001 From: gbbosak <51209748+gbbosak@users.noreply.github.com> Date: Fri, 6 Dec 2024 21:45:57 +0000 Subject: [PATCH] Revert AsRef impl, as the feature needed for that isn't yet stable. --- src/kv/key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }