Replace space in Markdown link label
With the space, the tidy check does not recognize it as a link label. See also the comment above in line_is_url() in src/tools/tidy/src/style.rs.
This commit is contained in:
parent
f51e64f7e9
commit
01000fb5c6
@ -80,8 +80,8 @@
|
|||||||
//!
|
//!
|
||||||
//! Note the documentation for the primitives [`str`] and [`[T]`][slice] (also
|
//! Note the documentation for the primitives [`str`] and [`[T]`][slice] (also
|
||||||
//! called 'slice'). Many method calls on [`String`] and [`Vec<T>`] are actually
|
//! called 'slice'). Many method calls on [`String`] and [`Vec<T>`] are actually
|
||||||
//! calls to methods on [`str`] and [`[T]`][slice] respectively, via [deref
|
//! calls to methods on [`str`] and [`[T]`][slice] respectively, via
|
||||||
//! coercions].
|
//! [deref-coercions].
|
||||||
//!
|
//!
|
||||||
//! Third, the standard library defines [The Rust Prelude], a small collection
|
//! Third, the standard library defines [The Rust Prelude], a small collection
|
||||||
//! of items - mostly traits - that are imported into every module of every
|
//! of items - mostly traits - that are imported into every module of every
|
||||||
@ -203,7 +203,7 @@
|
|||||||
//! [`use`]: ../book/first-edition/crates-and-modules.html#importing-modules-with-use
|
//! [`use`]: ../book/first-edition/crates-and-modules.html#importing-modules-with-use
|
||||||
//! [crate root]: ../book/first-edition/crates-and-modules.html#basic-terminology-crates-and-modules
|
//! [crate root]: ../book/first-edition/crates-and-modules.html#basic-terminology-crates-and-modules
|
||||||
//! [crates.io]: https://crates.io
|
//! [crates.io]: https://crates.io
|
||||||
//! [deref coercions]: ../book/second-edition/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods
|
//! [deref-coercions]: ../book/second-edition/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods
|
||||||
//! [files]: fs/struct.File.html
|
//! [files]: fs/struct.File.html
|
||||||
//! [multithreading]: thread/index.html
|
//! [multithreading]: thread/index.html
|
||||||
//! [other]: #what-is-in-the-standard-library-documentation
|
//! [other]: #what-is-in-the-standard-library-documentation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user