Auto merge of #6714 - alpaca-tc:fixed_tiny_typo, r=flip1995

Fix typo

changelog: none
This commit is contained in:
bors 2021-02-10 15:56:05 +00:00
commit a6d6b1b2ee

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