This commit is contained in:
alpaca-tc
2021-02-11 00:45:28 +09:00
parent b5e4389f53
commit 94b8f23baf
+1 -1
View File
@@ -1503,7 +1503,7 @@
///
/// ```rust
/// // Bad
/// let _ = "Hello".bytes().nth(3);;
/// let _ = "Hello".bytes().nth(3);
///
/// // Good
/// let _ = "Hello".as_bytes().get(3);