Revert AsRef impl, as the feature needed for that isn't yet stable.

This commit is contained in:
gbbosak
2024-12-06 21:45:57 +00:00
committed by Thomas de Zeeuw
parent 87674d3a8d
commit 134d252f05

View File

@@ -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()
}
}