Unnamed repository; edit this file 'description' to name the repository.
explicit_auto_deref
Johann Hemmann 2024-01-19
parent 84494d1 · commit 5753981
-rw-r--r--Cargo.toml1
-rw-r--r--crates/project-model/src/manifest_path.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5804941080..119b94bdc7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -171,7 +171,6 @@ borrowed_box = "allow"
borrow_deref_ref = "allow"
derivable_impls = "allow"
derived_hash_with_manual_eq = "allow"
-explicit_auto_deref = "allow"
field_reassign_with_default = "allow"
forget_non_drop = "allow"
format_collect = "allow"
diff --git a/crates/project-model/src/manifest_path.rs b/crates/project-model/src/manifest_path.rs
index 490e1a4ea8..d86e81e7e1 100644
--- a/crates/project-model/src/manifest_path.rs
+++ b/crates/project-model/src/manifest_path.rs
@@ -36,7 +36,7 @@ impl ManifestPath {
}
pub fn canonicalize(&self) -> ! {
- (&**self).canonicalize()
+ (**self).canonicalize()
}
}