mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-01 00:49:30 +00:00
Auto merge of #6714 - alpaca-tc:fixed_tiny_typo, r=flip1995
Fix typo changelog: none
This commit is contained in:
commit
a6d6b1b2ee
1 changed files with 1 additions and 1 deletions
|
@ -1503,7 +1503,7 @@ declare_clippy_lint! {
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// // Bad
|
/// // Bad
|
||||||
/// let _ = "Hello".bytes().nth(3);;
|
/// let _ = "Hello".bytes().nth(3);
|
||||||
///
|
///
|
||||||
/// // Good
|
/// // Good
|
||||||
/// let _ = "Hello".as_bytes().get(3);
|
/// let _ = "Hello".as_bytes().get(3);
|
||||||
|
|
Loading…
Reference in a new issue