From 5a6b00ce5041ef71faa43d50a5af14f4e1401204 Mon Sep 17 00:00:00 2001 From: Emma <1732901+qoh@users.noreply.github.com> Date: Fri, 20 Dec 2019 01:07:42 +0100 Subject: [PATCH] Fix 'redudant' spelling in redundant_clone docs The word 'redundant' is spelled incorrectly in the **What it does** section of the redundant_clone documentation. --- clippy_lints/src/redundant_clone.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/redundant_clone.rs b/clippy_lints/src/redundant_clone.rs index 6ed3c0734d9..a258e31e512 100644 --- a/clippy_lints/src/redundant_clone.rs +++ b/clippy_lints/src/redundant_clone.rs @@ -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