Skip to content

Commit 125907a

Browse files
authored
Merge pull request #3194 from flip1995/c_void
Fix c_void path
2 parents d366710 + a8b681c commit 125907a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/paths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub const CMP_MAX: [&str; 3] = ["core", "cmp", "max"];
1818
pub const CMP_MIN: [&str; 3] = ["core", "cmp", "min"];
1919
pub const COW: [&str; 3] = ["alloc", "borrow", "Cow"];
2020
pub const CSTRING_NEW: [&str; 5] = ["std", "ffi", "c_str", "CString", "new"];
21-
pub const C_VOID: [&str; 4] = ["std", "os", "raw", "c_void"];
21+
pub const C_VOID: [&str; 3] = ["core", "ffi", "c_void"];
2222
pub const C_VOID_LIBC: [&str; 2] = ["libc", "c_void"];
2323
pub const DEFAULT_TRAIT: [&str; 3] = ["core", "default", "Default"];
2424
pub const DEFAULT_TRAIT_METHOD: [&str; 4] = ["core", "default", "Default", "default"];

0 commit comments

Comments
 (0)