From bd22456e448ee593a0c33ba9efb0aaef9fe5caa4 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Fri, 16 Aug 2019 13:07:25 -0700 Subject: [PATCH] FIx rust-book-sync link --- docs/src/concepts/futures.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/concepts/futures.md b/docs/src/concepts/futures.md index be04cfe..185aa74 100644 --- a/docs/src/concepts/futures.md +++ b/docs/src/concepts/futures.md @@ -15,6 +15,8 @@ Note how we avoided any word like *"thread"*, but instead opted for "computation `Send` and `Sync` can be composed in interesting fashions, but that's beyond the scope here. You can find examples in the [Rust Book][rust-book-sync]. +[rust-book-sync]: https://doc.rust-lang.org/stable/book/ch16-04-extensible-concurrency-sync-and-send.html + To sum up: Rust gives us the ability to safely abstract over important properties of concurrent programs: their data sharing. It does so in a very lightweight fashion: the language itself only knows about the two markers `Send` and `Sync` and helps us a little by deriving them itself, when possible. The rest is a library concern. ## An easy view of computation