Move Arc-Mutex chapters into the subdir

pull/282/head
Yuki Okushi 3 years ago
parent 04616a672b
commit edf0d9001d
No known key found for this signature in database
GPG Key ID: DABA5B072961C18A

@ -21,5 +21,14 @@ git-repository-url = "https://github.com/rust-lang/nomicon"
"/vec-zsts.html" = "/vec/vec-zsts.html" "/vec-zsts.html" = "/vec/vec-zsts.html"
"/vec.html" = "/vec/vec.html" "/vec.html" = "/vec/vec.html"
# Arc and Mutex related chapters.
"/arc-and-mutex.html" = "/arc-mutex/arc-and-mutex.html"
"/arc-base.html" = "/arc-mutex/arc-base.html"
"/arc-clone.html" = "/arc-mutex/arc-clone.html"
"/arc-drop.html" = "/arc-mutex/arc-drop.html"
"/arc-final.html" = "/arc-mutex/arc-final.html"
"/arc-layout.html" = "/arc-mutex/arc-layout.html"
"/arc.html" = "/arc-mutex/arc.html"
[rust] [rust]
edition = "2018" edition = "2018"

@ -54,13 +54,13 @@
* [Drain](./vec/vec-drain.md) * [Drain](./vec/vec-drain.md)
* [Handling Zero-Sized Types](./vec/vec-zsts.md) * [Handling Zero-Sized Types](./vec/vec-zsts.md)
* [Final Code](./vec/vec-final.md) * [Final Code](./vec/vec-final.md)
* [Implementing Arc and Mutex](arc-and-mutex.md) * [Implementing Arc and Mutex](./arc-mutex/arc-and-mutex.md)
* [Arc](arc.md) * [Arc](./arc-mutex/arc.md)
* [Layout](arc-layout.md) * [Layout](./arc-mutex/arc-layout.md)
* [Base Code](arc-base.md) * [Base Code](./arc-mutex/arc-base.md)
* [Cloning](arc-clone.md) * [Cloning](./arc-mutex/arc-clone.md)
* [Dropping](arc-drop.md) * [Dropping](./arc-mutex/arc-drop.md)
* [Final Code](arc-final.md) * [Final Code](./arc-mutex/arc-final.md)
* [FFI](ffi.md) * [FFI](ffi.md)
* [Beneath `std`](beneath-std.md) * [Beneath `std`](beneath-std.md)
* [#[panic_handler]](panic-handler.md) * [#[panic_handler]](panic-handler.md)

@ -2,6 +2,6 @@
Knowing the theory is all fine and good, but the *best* way to understand Knowing the theory is all fine and good, but the *best* way to understand
something is to use it. To better understand atomics and interior mutability, something is to use it. To better understand atomics and interior mutability,
we'll be implementing versions of the standard library's Arc and Mutex types. we'll be implementing versions of the standard library's `Arc` and `Mutex` types.
TODO: Mutex TODO: Write `Mutex` chapters.
Loading…
Cancel
Save