1
Fork 0
This commit is contained in:
alpaca-tc 2021-02-11 00:45:28 +09:00
parent b5e4389f53
commit 94b8f23baf

View file

@ -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);