]> git.lizzy.rs Git - rust.git/commitdiff
Fix typos
authorPhil Ellison <phil.j.ellison@gmail.com>
Wed, 17 Jan 2018 21:54:09 +0000 (21:54 +0000)
committerPhil Ellison <phil.j.ellison@gmail.com>
Wed, 17 Jan 2018 21:54:09 +0000 (21:54 +0000)
clippy_lints/src/methods.rs

index 556c6988d668a6daf76fa476279ca991a09407a5..ea5fba8adb2048c191d62daa61c4c99bcecf58e0 100644 (file)
 }
 
 
-/// **What it does:** Checks for using `fold` when a more succint alternative exists.
+/// **What it does:** Checks for using `fold` when a more succinct alternative exists.
 /// Specifically, this checks for `fold`s which could be replaced by `any`, `all`,
 /// `sum` or `product`.
 ///
 declare_lint! {
     pub UNNECESSARY_FOLD,
     Warn,
-    "using `fold` when a more succint alternative exists"
+    "using `fold` when a more succinct alternative exists"
 }
 
 impl LintPass for Pass {