Auto merge of #4921 - qoh:patch-1, r=phansch
Fix 'redudant' spelling in redundant_clone docs The word 'redundant' is spelled incorrectly in the **What it does** section of the redundant_clone lint's documentation. changelog: Fix spelling in redundant_clone lint documentation
This commit is contained in:
commit
ab105ee1f5
@ -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