mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
update zh/String.md
This commit is contained in:
@ -186,7 +186,6 @@ fn main() {
|
||||
let len = story.__();
|
||||
let capacity = story.__();
|
||||
|
||||
// story has nineteen bytes
|
||||
assert_eq!(16, len);
|
||||
|
||||
// We can re-build a String out of ptr, len, and capacity. This is all
|
||||
|
Reference in New Issue
Block a user