Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 780a4c8

Browse files
committed
Fix typo
1 parent 5307cb5 commit 780a4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/repeat_once.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare_clippy_lint! {
1515
/// - `.clone()` for `String`
1616
/// - `.to_vec()` for `slice`
1717
///
18-
/// **Why is this bad?** For example, `String.repeat(1)` is equivalent to `.clone()`. If cloning the string is the intention behind thi, `clone()` should be used.
18+
/// **Why is this bad?** For example, `String.repeat(1)` is equivalent to `.clone()`. If cloning the string is the intention behind this, `clone()` should be used.
1919
///
2020
/// **Known problems:** None.
2121
///

0 commit comments

Comments
 (0)