Impl AsRef for Filename, not &Filename

This commit is contained in:
Oliver Hamlet
2025-06-11 17:50:04 +01:00
parent 04b8f44592
commit 57c8959da9
+1 -1
View File
@@ -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
}