Skip to content

Commit

Permalink
Revert AsRef impl, as the feature needed for that isn't yet stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
gbbosak authored and Thomasdezeeuw committed Dec 7, 2024
1 parent 87674d3 commit 134d252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kv/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl<'k> fmt::Display for Key<'k> {
}

impl<'k> AsRef<str> for Key<'k> {
fn as_ref(&self) -> &'k str {
fn as_ref(&self) -> &str {
self.as_str()
}
}
Expand Down

0 comments on commit 134d252

Please sign in to comment.