Skip to content

Commit 0728256

Browse files
committed
Revert clippy's path to the copy intrinsics (part of reverting PR 81238).
1 parent 5f6016f commit 0728256

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ pub const PERMISSIONS_FROM_MODE: [&str; 7] = ["std", "os", "imp", "unix", "fs",
116116
pub const POLL: [&str; 4] = ["core", "task", "poll", "Poll"];
117117
pub const POLL_PENDING: [&str; 5] = ["core", "task", "poll", "Poll", "Pending"];
118118
pub const POLL_READY: [&str; 5] = ["core", "task", "poll", "Poll", "Ready"];
119-
pub const PTR_COPY: [&str; 4] = ["core", "intrinsics", "", "copy"];
120-
pub const PTR_COPY_NONOVERLAPPING: [&str; 4] = ["core", "intrinsics", "", "copy_nonoverlapping"];
119+
pub const PTR_COPY: [&str; 3] = ["core", "intrinsics", "copy"];
120+
pub const PTR_COPY_NONOVERLAPPING: [&str; 3] = ["core", "intrinsics", "copy_nonoverlapping"];
121121
pub const PTR_EQ: [&str; 3] = ["core", "ptr", "eq"];
122122
pub const PTR_NULL: [&str; 3] = ["core", "ptr", "null"];
123123
pub const PTR_NULL_MUT: [&str; 3] = ["core", "ptr", "null_mut"];

0 commit comments

Comments
 (0)