about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 5804941080a..119b94bdc76 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 490e1a4ea88..d86e81e7e1a 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()
     }
 }