Fix typo
This commit is contained in:
parent
b5e4389f53
commit
94b8f23baf
1 changed files with 1 additions and 1 deletions
|
@ -1503,7 +1503,7 @@ declare_clippy_lint! {
|
|||
///
|
||||
/// ```rust
|
||||
/// // Bad
|
||||
/// let _ = "Hello".bytes().nth(3);;
|
||||
/// let _ = "Hello".bytes().nth(3);
|
||||
///
|
||||
/// // Good
|
||||
/// let _ = "Hello".as_bytes().get(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue