Skip to content

Commit ab105ee

Browse files
committed
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
2 parents 584f95f + 5a6b00c commit ab105ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/redundant_clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ macro_rules! unwrap_or_continue {
3333
}
3434

3535
declare_clippy_lint! {
36-
/// **What it does:** Checks for a redudant `clone()` (and its relatives) which clones an owned
36+
/// **What it does:** Checks for a redundant `clone()` (and its relatives) which clones an owned
3737
/// value that is going to be dropped without further use.
3838
///
3939
/// **Why is this bad?** It is not always possible for the compiler to eliminate useless

0 commit comments

Comments
 (0)