Skip to content

Commit a324a2b

Browse files
committed
Fix typos
1 parent b73efad commit a324a2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/methods.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ declare_lint! {
624624
}
625625

626626

627-
/// **What it does:** Checks for using `fold` when a more succint alternative exists.
627+
/// **What it does:** Checks for using `fold` when a more succinct alternative exists.
628628
/// Specifically, this checks for `fold`s which could be replaced by `any`, `all`,
629629
/// `sum` or `product`.
630630
///
@@ -643,7 +643,7 @@ declare_lint! {
643643
declare_lint! {
644644
pub UNNECESSARY_FOLD,
645645
Warn,
646-
"using `fold` when a more succint alternative exists"
646+
"using `fold` when a more succinct alternative exists"
647647
}
648648

649649
impl LintPass for Pass {

0 commit comments

Comments
 (0)