mirror of
https://github.com/rust-lang/log.git
synced 2026-04-30 23:04:34 +00:00
Revert AsRef impl, as the feature needed for that isn't yet stable.
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user