From 575398134ebd1f3f0a2137f85a16849050652d40 Mon Sep 17 00:00:00 2001 From: Johann Hemmann Date: Fri, 19 Jan 2024 14:46:49 +0100 Subject: [PATCH] explicit_auto_deref --- Cargo.toml | 1 - crates/project-model/src/manifest_path.rs | 2 +- 2 files changed, 1 insertion(+), 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() } }