about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-05-25 13:39:03 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-05-25 13:39:03 +0200
commitaa667f431710f1af461b3f3c263811ceaac603a7 (patch)
tree70fc83b91c4ce71612461cb8e083d7e5a5cb03c1
parent6291b91cad8b85523b5d7b7bf7620b61bc416de0 (diff)
downloadrust-aa667f431710f1af461b3f3c263811ceaac603a7.tar.gz
rust-aa667f431710f1af461b3f3c263811ceaac603a7.zip
use the correct path to the function
-rw-r--r--book/src/development/trait_checking.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/development/trait_checking.md b/book/src/development/trait_checking.md
index 39ab44349b3..0c7e74ca69e 100644
--- a/book/src/development/trait_checking.md
+++ b/book/src/development/trait_checking.md
@@ -17,7 +17,7 @@ providing the `LateContext` (`cx`), our expression at hand, and
 the symbol of the trait in question:
 
 ```rust
-use clippy_utils::implements_trait;
+use clippy_utils::ty::implements_trait;
 use rustc_hir::Expr;
 use rustc_lint::{LateContext, LateLintPass};
 use rustc_span::symbol::sym;