mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
Fix typo
This commit is contained in:
@@ -1503,7 +1503,7 @@
|
||||
///
|
||||
/// ```rust
|
||||
/// // Bad
|
||||
/// let _ = "Hello".bytes().nth(3);;
|
||||
/// let _ = "Hello".bytes().nth(3);
|
||||
///
|
||||
/// // Good
|
||||
/// let _ = "Hello".as_bytes().get(3);
|
||||
|
||||
Reference in New Issue
Block a user