Skip to content

Commit 0949a9b

Browse files
committed
Revert "Fix up links"
This reverts commit 7f1d1c6d9a7be5e427bace30e740b16b25f25c92. The original commit was created because mdBook and rustdoc had different generation algorithms for header links; now with rust-lang/rust#39966 , the algorithms are the same. So let's undo this change. ... when I came across this problem, I said "eh, this isn't fun, but it doesn't take that long." I probably should have just actually taken the time to fix upstream, given that they were amenable. Oh well!
1 parent 4125329 commit 0949a9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@
189189
//! [`sync`]: sync/index.html
190190
//! [`thread`]: thread/index.html
191191
//! [`use std::env`]: env/index.html
192-
//! [`use`]: ../book/crates-and-modules.html#Importing%20Modules%20with%20use
193-
//! [crate root]: ../book/crates-and-modules.html#Basic%20terminology%3A%20Crates%20and%20Modules
192+
//! [`use`]: ../book/crates-and-modules.html#importing-modules-with-use
193+
//! [crate root]: ../book/crates-and-modules.html#basic-terminology-crates-and-modules
194194
//! [crates.io]: https://crates.io
195195
//! [deref coercions]: ../book/deref-coercions.html
196196
//! [files]: fs/struct.File.html

src/primitive_docs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ mod prim_str { }
490490
/// assert_eq!(tuple.2, 'c');
491491
/// ```
492492
///
493-
/// For more about tuples, see [the book](../book/primitive-types.html#Tuples).
493+
/// For more about tuples, see [the book](../book/primitive-types.html#tuples).
494494
///
495495
/// # Trait implementations
496496
///

0 commit comments

Comments
 (0)