diff --git a/clippy_lints/src/utils/paths.rs b/clippy_lints/src/utils/paths.rs index b79ba345df4..7a6a6b02ed0 100644 --- a/clippy_lints/src/utils/paths.rs +++ b/clippy_lints/src/utils/paths.rs @@ -1,5 +1,8 @@ //! This module contains paths to types and functions Clippy needs to know //! about. +//! +//! Whenever possible, please consider diagnostic items over hardcoded paths. +//! See for more information. pub const ANY_TRAIT: [&str; 3] = ["std", "any", "Any"]; pub const ARC: [&str; 3] = ["alloc", "sync", "Arc"];