|
|
|
# ChangeLog
|
|
|
|
记录一些值得注意的变更。
|
|
|
|
|
|
|
|
## 2022-03-24
|
|
|
|
|
|
|
|
- 新增章节: [不错的unsafe队列 - 数据布局2](https://course.rs/too-many-lists/unsafe-queue/layout2.html)
|
|
|
|
- 优化在线书籍样式:增加章节目录行间距、调整滚动条的宽度、优化无内容章节字体颜色等
|
|
|
|
|
|
|
|
## 2022-03-22
|
|
|
|
|
|
|
|
- 新增章节: [不错的unsafe队列-测试栈借用](https://course.rs/too-many-lists/unsafe-queue/testing-stacked-borrow.html)
|
|
|
|
|
|
|
|
## 2022-03-18
|
|
|
|
|
|
|
|
- 新增章节内目录、评论系统,支持屏幕大小自适
|
|
|
|
- 新增章节: [不错的unsafe队列-栈借用](https://course.rs/too-many-lists/unsafe-queue/stacked-borrow.html)
|
|
|
|
- 新增章节: [不错的unsafe队列-基本操作](http://localhost:3000/too-many-lists/unsafe-queue/basics.html)
|
|
|
|
- 新增章节: [不错的unsafe队列-使用miri](http://localhost:3000/too-many-lists/unsafe-queue/miri.html)
|
|
|
|
|
|
|
|
## 2022-03-17
|
|
|
|
|
|
|
|
- 将`原生指针`更名为`裸指针`
|
|
|
|
- 新增章节: [不错的unsafe队列-数据布局](https://course.rs/too-many-lists/unsafe-queue/layout.html)
|
|
|
|
- 新增章节: [deque-迭代器](https://course.rs/too-many-lists/deque/iterator.html)
|
|
|
|
- 新增章节: [deque-最终代码](https://course.rs/too-many-lists/deque/final-code.html)
|
|
|
|
|
|
|
|
## 2022-03-16
|
|
|
|
|
|
|
|
- 新增章节: [deque-基本操作的对称镜像](https://course.rs/too-many-lists/deque/symmetric.html)
|
|
|
|
- 新增章节: [deque-Peek](https://course.rs/too-many-lists/deque/peek.html)
|
|
|
|
- 新增章节: [deque-数据布局和基本操作](https://course.rs/too-many-lists/deque/layout.html)
|
|
|
|
|
|
|
|
## 2022-03-14
|
|
|
|
|
|
|
|
- 新增章节: [Rust 陷阱 - UTF-8 引发的性能隐患](https://course.rs/pitfalls/utf8-performance.html)
|
|
|
|
- 新增章节:[持久化链表 - 数据布局和基本操作](https://course.rs/too-many-lists/persistent-stack/layout.html)
|
|
|
|
- 新增章节:[持久化链表 - Drop、Arc 及完整代码](https://course.rs/too-many-lists/persistent-stack/drop-arc.html)
|
|
|
|
|
|
|
|
## 2022-03-13
|
|
|
|
|
|
|
|
- 新增章节: [还 OK 的单向链表 - IterMut](https://course.rs/too-many-lists/ok-stack/itermut.html)
|
|
|
|
- 新增章节: [还 OK 的单向链表 - IntoIter 和 Iter](https://course.rs/too-many-lists/iter.html)
|
|
|
|
- 优化[进一步深入特赠 - 关联类型](https://course.rs/basic/trait/advance-trait.html#关联类型)中的部分内容,感谢 AllenYu0018 的[提示](https://github.com/sunface/rust-course/discussions/392).
|
|
|
|
|
|
|
|
## 2022-03-11
|
|
|
|
|
|
|
|
- 新增章节: [还 OK 的单向链表 - Peek 函数](https://course.rs/too-many-lists/ok-stack/peek.html)
|
|
|
|
- 在特征对象章节添加图表的[详细解释](https://course.rs/basic/trait/trait-object.html#特征对象的动态分发),感谢 [@Rustln](https://github.com/Rustln) 的倾情贡献
|
|
|
|
- 新增章节: [不太优秀的单向链表 - 收尾工作及最终代码](https://course.rs/too-many-lists/bad-stack/final-code.html)
|
|
|
|
- 新增章节:[还 OK 的单向链表 - 类型优化](https://course.rs/too-many-lists/ok-stack/type-optimizing.html)
|
|
|
|
|
|
|
|
## 2022-03-10
|
|
|
|
|
|
|
|
- 新增章节:[不太优秀的单向链表 - 数据布局](https://course.rs/too-many-lists/bad-stack/layout.html)
|
|
|
|
- 新增章节: [不太优秀的单向链表 - 基本操作](https://course.rs/too-many-lists/bad-stack/basic-operations.html)
|
|
|
|
|
|
|
|
|
|
|
|
## 2022-03-09
|
|
|
|
|
|
|
|
- 在 [Deref 章节](https://course.rs/advance/smart-pointer/deref.html)中新增开篇引导示例,帮助读者更好的理解当前章节
|
|
|
|
- 为部分章节增加[课后练习题链接](https://github.com/sunface/rust-by-practice)
|
|
|
|
- 移除类型转换章节中一段错误的内容
|
|
|
|
|
|
|
|
|
|
|
|
## 2022-03-08
|
|
|
|
|
|
|
|
- 新增章节: [我们到底需不需要链表](https://course.rs/too-many-lists/do-we-need-it)
|
|
|
|
|
|
|
|
|
|
|
|
## 2022-03-07
|
|
|
|
|
|
|
|
- 新增章节: [Eq 和 PartialEq](https://course.rs/confonding/eq.html)
|
|
|
|
|
|
|
|
## 2022-03-04
|
|
|
|
|
|
|
|
- 新增专题: [手把手带你实现链表](https://course.rs/linked-list/intro)
|
|
|
|
- 新增章节: [最佳实践 - 面试经验](https://course.rs/practice/interview.html)
|
|
|
|
- 为部分章节增加[课后练习题链接](https://github.com/sunface/rust-by-practice)
|
|
|
|
|
|
|
|
|
|
|
|
## 2022-03-03
|
|
|
|
|
|
|
|
- 新增章节: [Cargo - 构建脚本示例](https://course.rs/toolchains/cargo/reference/build-script/examples.html)
|
|
|
|
|
|
|
|
## 2022-03-02
|
|
|
|
|
|
|
|
- 新增章节: [Cargo - 构建脚本](https://course.rs/toolchains/cargo/reference/build-script/intro.html)
|
|
|
|
|
|
|
|
## 2022-02-28
|
|
|
|
|
|
|
|
- 新增章节: [Cargo - 发布到crates.io](https://course.rs/toolchains/cargo/reference/publishing-on-crates.io.html)
|
|
|
|
- 新增内容:[结构体 - #[derive(Debug)]](https://course.rs/basic/compound-type/struct.html#使用-derivedebug-来打印结构体的信息)
|
|
|
|
|
|
|
|
## 2022-02-27
|
|
|
|
|
|
|
|
- 增加如何生成[测试可执行文件](https://course.rs/test/write-tests.html#生成测试二进制文件)
|
|
|
|
- 屏蔽附录中的重点索引,未来集中放入到[快速查询入口中](https://course.rs/index-list.html)
|
|
|
|
|
|
|
|
|
|
|
|
## 2022-02-26
|
|
|
|
|
|
|
|
- 对于过程宏为何要放在单独的包的原因进行了[说明](https://course.rs/advance/macro.html#用过程宏为属性标记生成代码)
|
|
|
|
|
|
|
|
## 2022-02-25
|
|
|
|
|
|
|
|
- 新增 1.59 [版本说明](https://course.rs/appendix/rust-versions/1.59.html)
|
|
|
|
- 在变量绑定章节新增[解构式赋值](https://course.rs/basic/variable.html#解构式赋值)
|
|
|
|
|
|
|
|
## 2022-02-24
|
|
|
|
|
|
|
|
- 进阶中的enum/整数类型转换、newtype章节被合并到**深入类型**目录中
|
|
|
|
- 将 newtype 中的 Sized/DST 内容拆分成单独的章节,并扩展了相应内容
|