Skip to content

Commit

Permalink
Merge pull request #17 from lyonnee/item8
Browse files Browse the repository at this point in the history
feat: 第8条,熟悉引用和指针类型的1翻
  • Loading branch information
lispking authored May 15, 2024
2 parents c05f0e1 + 31bd788 commit 9fff91b
Show file tree
Hide file tree
Showing 9 changed files with 348 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [第 3 条:避免匹配 Option 和 Result](./chapter_1/transform.md)
- [第 4 条:优先使用惯用的错误类型](./chapter_1/errors.md)
- [第 7 条:对于复杂的类型,使用构造器](./chapter_1/builder.md)
- [第 8 条:熟悉引用和指针类型](./chapter_1/item8-references&pointer.md)
- [概念](./chapter_2.md)
- [第 11 条:为RAII模式实现Drop trait](./chapter_2/impl-drop-for-RAII.md)
- [依赖](./chapter_3.md)
Expand Down
340 changes: 340 additions & 0 deletions src/chapter_1/item8-references&pointer.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/images/item8/arrayslice.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/item8/heap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/item8/rc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/item8/refcell.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/item8/stack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/item8/traitobject.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/images/item8/vecslice.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9fff91b

Please sign in to comment.