about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-02-15 01:22:16 +0000
committerbors <bors@rust-lang.org>2017-02-15 01:22:16 +0000
commit025c328bf5ab336ff708e62a59292298dc1bc089 (patch)
tree025b7fba629c298f31a51af81d04f895a6faa4d1 /src/libcore
parente8154a092558d79f13d7dd48abbfcc4e9d4ed44c (diff)
parentcacb3bc9c741a7d41a1085af850cd3ff852307f5 (diff)
downloadrust-025c328bf5ab336ff708e62a59292298dc1bc089.tar.gz
rust-025c328bf5ab336ff708e62a59292298dc1bc089.zip
Auto merge of #39633 - steveklabnik:vendor-mdbook, r=alexcrichton
Port books to mdbook

Part of https://github.com/rust-lang/rust/issues/39588

blocked on https://github.com/rust-lang/rust/pull/39431

As a first step towards the bookshelf, we ~vendor mdbook in-tree and~ port our books to it. Eventually, both of these books will be moved out-of-tree, but the nightly book will rely on doing the same thing. As such, this intermediate step is useful.

r? @alexcrichton @brson

/cc @azerupi
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/mem.rs2
-rw-r--r--src/libcore/raw.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 209107ef92c..5655fd06604 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -525,7 +525,7 @@ pub fn replace<T>(dest: &mut T, mut src: T) -> T {
 /// it will not release any borrows, as borrows are based on lexical scope.
 ///
 /// This effectively does nothing for
-/// [types which implement `Copy`](../../book/ownership.html#copy-types),
+/// [types which implement `Copy`](../../book/ownership.html#Copy%20types),
 /// e.g. integers. Such values are copied and _then_ moved into the function,
 /// so the value persists after this function call.
 ///
diff --git a/src/libcore/raw.rs b/src/libcore/raw.rs
index a7d0d3899b1..652b139f1e6 100644
--- a/src/libcore/raw.rs
+++ b/src/libcore/raw.rs
@@ -25,7 +25,7 @@
 /// Book][moreinfo] contains more details about the precise nature of
 /// these internals.
 ///
-/// [moreinfo]: ../../book/trait-objects.html#representation
+/// [moreinfo]: ../../book/trait-objects.html#Representation
 ///
 /// `TraitObject` is guaranteed to match layouts, but it is not the
 /// type of trait objects (e.g. the fields are not directly accessible