explicit_auto_deref

This commit is contained in:
Johann Hemmann 2024-01-19 14:46:49 +01:00
parent 84494d1c8e
commit 575398134e
2 changed files with 1 additions and 2 deletions

View file

@ -171,7 +171,6 @@ borrowed_box = "allow"
borrow_deref_ref = "allow" borrow_deref_ref = "allow"
derivable_impls = "allow" derivable_impls = "allow"
derived_hash_with_manual_eq = "allow" derived_hash_with_manual_eq = "allow"
explicit_auto_deref = "allow"
field_reassign_with_default = "allow" field_reassign_with_default = "allow"
forget_non_drop = "allow" forget_non_drop = "allow"
format_collect = "allow" format_collect = "allow"

View file

@ -36,7 +36,7 @@ impl ManifestPath {
} }
pub fn canonicalize(&self) -> ! { pub fn canonicalize(&self) -> ! {
(&**self).canonicalize() (**self).canonicalize()
} }
} }