Skip to content

Commit 80ec986

Browse files
Revert "Fix clippy's path to the copy intrinsics."
This reverts commit 1a80635.
1 parent a3ebc6e commit 80ec986

File tree

1 file changed

+2
-2
lines changed
  • src/tools/clippy/clippy_utils/src

1 file changed

+2
-2
lines changed

src/tools/clippy/clippy_utils/src/paths.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ pub const BTREESET: [&str; 5] = ["alloc", "collections", "btree", "set", "BTreeS
1818
pub const CLONE_TRAIT_METHOD: [&str; 4] = ["core", "clone", "Clone", "clone"];
1919
pub const CMP_MAX: [&str; 3] = ["core", "cmp", "max"];
2020
pub const CMP_MIN: [&str; 3] = ["core", "cmp", "min"];
21-
pub const COPY: [&str; 4] = ["core", "intrinsics", "", "copy_nonoverlapping"];
22-
pub const COPY_NONOVERLAPPING: [&str; 4] = ["core", "intrinsics", "", "copy"];
21+
pub const COPY: [&str; 3] = ["core", "intrinsics", "copy_nonoverlapping"];
22+
pub const COPY_NONOVERLAPPING: [&str; 3] = ["core", "intrinsics", "copy"];
2323
pub const COW: [&str; 3] = ["alloc", "borrow", "Cow"];
2424
pub const CSTRING_AS_C_STR: [&str; 5] = ["std", "ffi", "c_str", "CString", "as_c_str"];
2525
pub const DEFAULT_TRAIT: [&str; 3] = ["core", "default", "Default"];

0 commit comments

Comments
 (0)