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:
Emma 2019-12-20 01:07:42 +01:00 committed by GitHub
parent 584f95fc54
commit 5a6b00ce50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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