X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fdoc%2Ftutorial.md;h=da78869d9fa84a69856a8272d151865537a861a7;hb=33c3eddd111bd708940f2e2fd84180cfae80e856;hp=7a0a166274282aea77e039c1437105e64257aad7;hpb=02117dd1bc10c65ca1f56fd81996a573c88ccfd5;p=rust.git diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 7a0a1662742..da78869d9fa 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -1710,7 +1710,7 @@ it's possible to use *dynamic* mutability via types like `std::cell::Cell` where via dynamic checks and can fail at runtime. The `Rc` and `Gc` types are not sendable, so they cannot be used to share memory between tasks. Safe -immutable and mutable shared memory is provided by the `extra::arc` module. +immutable and mutable shared memory is provided by the `sync::arc` module. # Closures