Fix typos

This commit is contained in:
Phil Ellison 2018-01-17 21:54:09 +00:00
parent b73efad600
commit a324a2bc38

View file

@ -624,7 +624,7 @@ declare_lint! {
}
/// **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`.
///
@ -643,7 +643,7 @@ declare_lint! {
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 {