mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-03 10:33:34 +00:00
Fix 'redudant' spelling in redundant_clone docs
The word 'redundant' is spelled incorrectly in the **What it does** section of the redundant_clone documentation.
This commit is contained in:
parent
584f95fc54
commit
5a6b00ce50
@ -33,7 +33,7 @@ macro_rules! unwrap_or_continue {
|
||||
}
|
||||
|
||||
declare_clippy_lint! {
|
||||
/// **What it does:** Checks for a redudant `clone()` (and its relatives) which clones an owned
|
||||
/// **What it does:** Checks for a redundant `clone()` (and its relatives) which clones an owned
|
||||
/// value that is going to be dropped without further use.
|
||||
///
|
||||
/// **Why is this bad?** It is not always possible for the compiler to eliminate useless
|
||||
|
Loading…
Reference in New Issue
Block a user