Skip to content

Commit f62c84e

Browse files
committed
clippy: Update full path to CString
1 parent 6eaec56 commit f62c84e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub const BTREEMAP_ENTRY: [&str; 6] = ["alloc", "collections", "btree", "map", "
2323
pub const BTREEMAP_INSERT: [&str; 6] = ["alloc", "collections", "btree", "map", "BTreeMap", "insert"];
2424
pub const CLONE_TRAIT_METHOD: [&str; 4] = ["core", "clone", "Clone", "clone"];
2525
pub const COW: [&str; 3] = ["alloc", "borrow", "Cow"];
26-
pub const CSTRING_AS_C_STR: [&str; 5] = ["std", "ffi", "c_str", "CString", "as_c_str"];
26+
pub const CSTRING_AS_C_STR: [&str; 5] = ["alloc", "ffi", "c_str", "CString", "as_c_str"];
2727
pub const DEFAULT_TRAIT_METHOD: [&str; 4] = ["core", "default", "Default", "default"];
2828
pub const DEREF_MUT_TRAIT_METHOD: [&str; 5] = ["core", "ops", "deref", "DerefMut", "deref_mut"];
2929
/// Preferably use the diagnostic item `sym::deref_method` where possible

0 commit comments

Comments
 (0)