Skip to content

Commit 3327c77

Browse files
committed
Intro to part 1 and concurrency chapter
Signed-off-by: Nick Cameron <[email protected]>
1 parent 5db5010 commit 3327c77

File tree

5 files changed

+184
-5
lines changed

5 files changed

+184
-5
lines changed

ci/dictionary.txt

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ proxying
6464
pseudocode
6565
ReadIntoBuf
6666
recognise
67+
repo
6768
refactor
6869
RefCell
6970
repo

src/SUMMARY.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
# Part 1: guide
1111

12+
- [Introduction](part-guide/intro.md)
13+
- [Concurrent programming](part-guide/concurrency.md)
14+
1215
# Part 2: reference
1316

1417
# Old chapters

src/intro.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ NOTE: this guide is currently undergoing a rewrite after a long time without muc
44

55
This book is a guide to asynchronous programming in Rust. It is designed to help you take your first steps and to discover more about advanced topics. We don't assume any experience with asynchronous programming (in Rust or another language), but we do assume you're familiar with Rust already. If you want to learn about Rust, you could start with [The Rust Programming Language](https://doc.rust-lang.org/stable/book/).
66

7-
This book has two main parts: part one is a beginners guide, it is designed to be read in-order and to take you from total beginner to intermediate level. Part two is a collection of stand-alone chapters on more advanced topics. It should be useful once you've worked through part one or if you already have some experience with async Rust.
7+
This book has two main parts: [part one](part-guide/intro.md) is a beginners guide, it is designed to be read in-order and to take you from total beginner to intermediate level. Part two is a collection of stand-alone chapters on more advanced topics. It should be useful once you've worked through part one or if you already have some experience with async Rust.
88

99
You can navigate this book in multiple ways:
1010

11-
* You can read it front to back, in order. This is the recommend path for newcomers to async Rust, at least for part one of the book.
11+
* You can read it front to back, in order. This is the recommend path for newcomers to async Rust, at least for [part one](part-guide/intro.md) of the book.
1212
* There is a summary contents on the left-hand side of the webpage.
1313
* If you want information about a broad topic, you could start with the topic index.
1414
* If you want to find all discussion about a specific topic, you could start with the detailed index.
@@ -34,9 +34,7 @@ Just to give you a taste of what async Rust looks like, here is a 'hello, world'
3434

3535
We'll explain everything in detail later. For now, note how we define an asynchronous function using `async fn` and call it using `.await` - an async function in Rust doesn't do anything unless it is `await`ed[^blocking].
3636

37-
Like all examples in this book, if you want to see the full example (including `Cargo.toml`, for example) or to run it yourself locally, you can find them in the book's GitHub repo: e.g., [examples/hello-world]().
38-
39-
TODO link: https://github.com/rust-lang/async-book/tree/master/examples/hello-world
37+
Like all examples in this book, if you want to see the full example (including `Cargo.toml`, for example) or to run it yourself locally, you can find them in the book's GitHub repo: e.g., [examples/hello-world](https://github.com/rust-lang/async-book/tree/master/examples/hello-world).
4038

4139

4240
## Development of Async Rust

0 commit comments

Comments
 (0)