mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-15 05:26:47 +00:00
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
This commit is contained in:
commit
e57c6d6f21
@ -63,7 +63,7 @@ declare_clippy_lint! {
|
||||
/// ### Why is this bad?
|
||||
///
|
||||
/// Crates which have `no_std` compatibility and may optionally require alloc may wish to ensure types are
|
||||
/// imported from alloc to ensure disabling `alloc` does not cause the crate to fail to compile. This lint
|
||||
/// imported from core to ensure disabling `alloc` does not cause the crate to fail to compile. This lint
|
||||
/// is also useful for crates migrating to become `no_std` compatible.
|
||||
///
|
||||
/// ### Example
|
||||
|
Loading…
Reference in New Issue
Block a user