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

Commit 94b8f23

Browse files
committed
Fix typo
1 parent b5e4389 commit 94b8f23

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ declare_clippy_lint! {
15031503
///
15041504
/// ```rust
15051505
/// // Bad
1506-
/// let _ = "Hello".bytes().nth(3);;
1506+
/// let _ = "Hello".bytes().nth(3);
15071507
///
15081508
/// // Good
15091509
/// let _ = "Hello".as_bytes().get(3);

0 commit comments

Comments
 (0)