mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Impl AsRef for Filename, not &Filename
This commit is contained in:
@@ -141,7 +141,7 @@ impl std::hash::Hash for Filename {
|
||||
}
|
||||
}
|
||||
|
||||
impl AsRef<str> for &Filename {
|
||||
impl AsRef<str> for Filename {
|
||||
fn as_ref(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user