forked from crowdagger/books
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trpl2.book
127 lines (119 loc) · 5.92 KB
/
trpl2.book
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
title: "The Rust Programming Language"
author: "Steve Klabnik and Carol Nichols, with Contributions from the Rust Community"
lang: en
crowbook.html_as_text: false
# tex.hyperref: false
rendering.highlight: syntect
tex.links_as_footnotes: false
rendering.num_depth: 2
rendering.inline_toc: true
resources.base_path.images: trpl/second-edition/src/img/
output.base_path: docs/
output.html: trpl2.html
output.epub: trpl2.epub
output.pdf: trpl2.pdf
@ Getting started
+ trpl/second-edition/src/ch01-00-introduction.md
-- trpl/second-edition/src/ch01-01-installation.md
-- trpl/second-edition/src/ch01-02-hello-world.md
+ trpl/second-edition/src/ch02-00-guessing-game-tutorial.md
+ trpl/second-edition/src/ch03-00-common-programming-concepts.md
-- trpl/second-edition/src/ch03-01-variables-and-mutability.md
-- trpl/second-edition/src/ch03-02-data-types.md
-- trpl/second-edition/src/ch03-03-how-functions-work.md
-- trpl/second-edition/src/ch03-04-comments.md
-- trpl/second-edition/src/ch03-05-control-flow.md
+ trpl/second-edition/src/ch04-00-understanding-ownership.md
-- trpl/second-edition/src/ch04-01-what-is-ownership.md
-- trpl/second-edition/src/ch04-02-references-and-borrowing.md
-- trpl/second-edition/src/ch04-03-slices.md
+ trpl/second-edition/src/ch05-00-structs.md
-- trpl/second-edition/src/ch05-01-defining-structs.md
-- trpl/second-edition/src/ch05-02-example-structs.md
-- trpl/second-edition/src/ch05-03-method-syntax.md
+ trpl/second-edition/src/ch06-00-enums.md
-- trpl/second-edition/src/ch06-01-defining-an-enum.md
-- trpl/second-edition/src/ch06-02-match.md
-- trpl/second-edition/src/ch06-03-if-let.md
@ Basic Rust Literacy
+ trpl/second-edition/src/ch07-00-modules.md
-- trpl/second-edition/src/ch07-01-mod-and-the-filesystem.md
-- trpl/second-edition/src/ch07-02-controlling-visibility-with-pub.md
-- trpl/second-edition/src/ch07-03-importing-names-with-use.md
+ trpl/second-edition/src/ch08-00-common-collections.md
-- trpl/second-edition/src/ch08-01-vectors.md
-- trpl/second-edition/src/ch08-02-strings.md
-- trpl/second-edition/src/ch08-03-hash-maps.md
+ trpl/second-edition/src/ch09-00-error-handling.md
-- trpl/second-edition/src/ch09-01-unrecoverable-errors-with-panic.md
-- trpl/second-edition/src/ch09-02-recoverable-errors-with-result.md
-- trpl/second-edition/src/ch09-03-to-panic-or-not-to-panic.md
+ trpl/second-edition/src/ch10-00-generics.md
-- trpl/second-edition/src/ch10-01-syntax.md
-- trpl/second-edition/src/ch10-02-traits.md
-- trpl/second-edition/src/ch10-03-lifetime-syntax.md
+ trpl/second-edition/src/ch11-00-testing.md
-- trpl/second-edition/src/ch11-01-writing-tests.md
-- trpl/second-edition/src/ch11-02-running-tests.md
-- trpl/second-edition/src/ch11-03-test-organization.md
+ trpl/second-edition/src/ch12-00-an-io-project.md
-- trpl/second-edition/src/ch12-01-accepting-command-line-arguments.md
-- trpl/second-edition/src/ch12-02-reading-a-file.md
-- trpl/second-edition/src/ch12-03-improving-error-handling-and-modularity.md
-- trpl/second-edition/src/ch12-04-testing-the-librarys-functionality.md
-- trpl/second-edition/src/ch12-05-working-with-environment-variables.md
-- trpl/second-edition/src/ch12-06-writing-to-stderr-instead-of-stdout.md
@ Thinking in Rust
+ trpl/second-edition/src/ch13-00-functional-features.md
-- trpl/second-edition/src/ch13-01-closures.md
-- trpl/second-edition/src/ch13-02-iterators.md
-- trpl/second-edition/src/ch13-03-improving-our-io-project.md
-- trpl/second-edition/src/ch13-04-performance.md
+ trpl/second-edition/src/ch14-00-more-about-cargo.md
-- trpl/second-edition/src/ch14-01-release-profiles.md
-- trpl/second-edition/src/ch14-02-publishing-to-crates-io.md
-- trpl/second-edition/src/ch14-03-cargo-workspaces.md
-- trpl/second-edition/src/ch14-04-installing-binaries.md
-- trpl/second-edition/src/ch14-05-extending-cargo.md
+ trpl/second-edition/src/ch15-00-smart-pointers.md
-- trpl/second-edition/src/ch15-01-box.md
-- trpl/second-edition/src/ch15-02-deref.md
-- trpl/second-edition/src/ch15-03-drop.md
-- trpl/second-edition/src/ch15-04-rc.md
-- trpl/second-edition/src/ch15-05-interior-mutability.md
-- trpl/second-edition/src/ch15-06-reference-cycles.md
+ trpl/second-edition/src/ch16-00-concurrency.md
-- trpl/second-edition/src/ch16-01-threads.md
-- trpl/second-edition/src/ch16-02-message-passing.md
-- trpl/second-edition/src/ch16-03-shared-state.md
-- trpl/second-edition/src/ch16-04-extensible-concurrency-sync-and-send.md
+ trpl/second-edition/src/ch17-00-oop.md
-- trpl/second-edition/src/ch17-01-what-is-oo.md
-- trpl/second-edition/src/ch17-02-trait-objects.md
-- trpl/second-edition/src/ch17-03-oo-design-patterns.md
@ Advanced Topics
+ trpl/second-edition/src/ch18-00-patterns.md
-- trpl/second-edition/src/ch18-01-all-the-places-for-patterns.md
-- trpl/second-edition/src/ch18-02-refutability.md
-- trpl/second-edition/src/ch18-03-pattern-syntax.md
+ trpl/second-edition/src/ch19-00-advanced-features.md
-- trpl/second-edition/src/ch19-01-unsafe-rust.md
-- trpl/second-edition/src/ch19-02-advanced-lifetimes.md
-- trpl/second-edition/src/ch19-03-advanced-traits.md
-- trpl/second-edition/src/ch19-04-advanced-types.md
-- trpl/second-edition/src/ch19-05-advanced-functions-and-closures.md
+ trpl/second-edition/src/ch20-00-final-project-a-web-server.md
-- trpl/second-edition/src/ch20-01-single-threaded.md
-- trpl/second-edition/src/ch20-02-slow-requests.md
-- trpl/second-edition/src/ch20-03-designing-the-interface.md
-- trpl/second-edition/src/ch20-04-storing-threads.md
-- trpl/second-edition/src/ch20-05-sending-requests-via-channels.md
-- trpl/second-edition/src/ch20-06-graceful-shutdown-and-cleanup.md
- trpl/second-edition/src/appendix-00.md
-- trpl/second-edition/src/appendix-01-keywords.md
-- trpl/second-edition/src/appendix-02-operators.md
# -- trpl/second-edition/src/appendix-03-derivable-traits.md
# -- trpl/second-edition/src/appendix-04-nightly-rust.md
# -- trpl/second-edition/src/appendix-05-macros.md
-- trpl/second-edition/src/appendix-06-translation.md
-- trpl/second-edition/src/appendix-07-newest-features.md