Skip to content

Commit e57c6d6

Browse files
committed
Auto merge of #9202 - PaulTheNeko:patch-1, r=Manishearth
Fix typo in alloc_instead_of_core The description previously claimed it ensures items are imported from alloc, to ensure a crate won't require alloc, which can't be true. I'm not sure know how to better phrase the changelog entry below. changelog: [`alloc_instead_of_core`]: fixed typo in description
2 parents cce6171 + c94ca1c commit e57c6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/std_instead_of_core.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ declare_clippy_lint! {
6363
/// ### Why is this bad?
6464
///
6565
/// Crates which have `no_std` compatibility and may optionally require alloc may wish to ensure types are
66-
/// imported from alloc to ensure disabling `alloc` does not cause the crate to fail to compile. This lint
66+
/// imported from core to ensure disabling `alloc` does not cause the crate to fail to compile. This lint
6767
/// is also useful for crates migrating to become `no_std` compatible.
6868
///
6969
/// ### Example

0 commit comments

Comments
 (0)