A book about Rust Data Structures and Algorithms.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
kingfree opened this issue 2 years ago · comments
第25页:
2.5.2 集合类型 Rust 实现的 String 底层基于数组,所以 String 同数组一样不可更改。
这里描述是有问题的,标准库中 String 类型是由 Vec 实现的,也是可变的。
String
Vec
感谢,已修复。