about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2024-06-30 19:04:14 -0700
committerMichael Howell <michael@notriddle.com>2024-07-01 07:21:02 -0700
commitc8592da16a9e16535f3dfb9359066113f8656de0 (patch)
treeb1b70ecb249582af2d4c1083dab8512631d2b5b2 /compiler/rustc_data_structures/src/sync.rs
parentcc1b3ee7f1601499ec96dcdfcf6ac1ee40657e6b (diff)
downloadrust-c8592da16a9e16535f3dfb9359066113f8656de0.tar.gz
rust-c8592da16a9e16535f3dfb9359066113f8656de0.zip
rustc_data_structures: fix wrong markdown syntax
This didn't produce working footnote links. The unportable markdown
lint warned about it.
Diffstat (limited to 'compiler/rustc_data_structures/src/sync.rs')
-rw-r--r--compiler/rustc_data_structures/src/sync.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/sync.rs b/compiler/rustc_data_structures/src/sync.rs
index 79ceb28abb5..058a675c40d 100644
--- a/compiler/rustc_data_structures/src/sync.rs
+++ b/compiler/rustc_data_structures/src/sync.rs
@@ -35,11 +35,11 @@
 //! |                         |                     |                                 |
 //! | `ParallelIterator`      | `Iterator`          | `rayon::iter::ParallelIterator` |
 //!
-//! [^1] `MTLock` is similar to `Lock`, but the serial version avoids the cost
+//! [^1]: `MTLock` is similar to `Lock`, but the serial version avoids the cost
 //! of a `RefCell`. This is appropriate when interior mutability is not
 //! required.
 //!
-//! [^2] `MTRef`, `MTLockRef` are type aliases.
+//! [^2]: `MTRef`, `MTLockRef` are type aliases.
 
 pub use crate::marker::*;
 use std::collections::HashMap;