diff options
| author | Florian Hartwig <florian.j.hartwig@gmail.com> | 2015-04-16 22:12:13 +0200 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-04-25 12:10:21 -0400 |
| commit | f19a12d6a2fe40b243bfddaf339858dee62dc949 (patch) | |
| tree | 6b6a764661f87a07044f03876cb2f04d2e75c412 /src/doc | |
| parent | 007060ba07f25cef39dcc792eeae1a9d36fdf368 (diff) | |
| download | rust-f19a12d6a2fe40b243bfddaf339858dee62dc949.tar.gz rust-f19a12d6a2fe40b243bfddaf339858dee62dc949.zip | |
Fix broken links in the docs
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/complement-design-faq.md | 4 | ||||
| -rw-r--r-- | src/doc/trpl/closures.md | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/doc/complement-design-faq.md b/src/doc/complement-design-faq.md index 56a19769647..952416ac160 100644 --- a/src/doc/complement-design-faq.md +++ b/src/doc/complement-design-faq.md @@ -56,7 +56,7 @@ Types which are [`Sync`][sync] are thread-safe when multiple shared references to them are used concurrently. Types which are not `Sync` are not thread-safe, and thus when used in a global require unsafe code to use. -[sync]: core/kinds/trait.Sync.html +[sync]: core/marker/trait.Sync.html ### If mutable static items that implement `Sync` are safe, why is taking &mut SHARABLE unsafe? @@ -139,7 +139,7 @@ and explicitly calling the `clone` method. Making user-defined copy operators explicit surfaces the underlying complexity, forcing the developer to opt-in to potentially expensive operations. -[copy]: core/kinds/trait.Copy.html +[copy]: core/marker/trait.Copy.html [clone]: core/clone/trait.Clone.html ## No move constructors diff --git a/src/doc/trpl/closures.md b/src/doc/trpl/closures.md index e63331e5206..e3de8eb30be 100644 --- a/src/doc/trpl/closures.md +++ b/src/doc/trpl/closures.md @@ -205,11 +205,11 @@ you tons of control over what your code does, and closures are no different. Rust's implementation of closures is a bit different than other languages. They are effectively syntax sugar for traits. You'll want to make sure to have read -the [traits chapter][traits] before this one, as well as the chapter on [static -and dynamic dispatch][dispatch], which talks about trait objects. +the [traits chapter][traits] before this one, as well as the chapter on [trait +objects][trait-objects]. [traits]: traits.html -[dispatch]: static-and-dynamic-dispatch.html +[trait-objects]: trait-objects.html Got all that? Good. |
