mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
rustdoc: Fix many rustdoc errors (#31147)
This fixes many rustdoc errors that occur due to raw URLs in rustdoc comments as well as unescaped Rust code that should be in backticks.
This commit is contained in:
parent
d7de206dbd
commit
5c1723c983
185 changed files with 939 additions and 942 deletions
|
@ -7,7 +7,7 @@
|
|||
//! Re-entrant mutexes are like mutexes, but where it is expected
|
||||
//! that a single thread may own a lock more than once.
|
||||
|
||||
//! It provides the same interface as https://github.com/rust-lang/rust/blob/5edaa7eefd76d4996dcf85dfc1c1a3f737087257/src/libstd/sys_common/remutex.rs
|
||||
//! It provides the same interface as <https://github.com/rust-lang/rust/blob/5edaa7eefd76d4996dcf85dfc1c1a3f737087257/src/libstd/sys_common/remutex.rs>
|
||||
//! so if those types are ever exported, we should be able to replace this implemtation.
|
||||
|
||||
use std::cell::{Cell, UnsafeCell};
|
||||
|
@ -148,7 +148,7 @@ unsafe impl Send for HandOverHandMutex {}
|
|||
|
||||
/// A type for re-entrant mutexes.
|
||||
///
|
||||
/// It provides the same interface as https://github.com/rust-lang/rust/blob/5edaa7eefd76d4996dcf85dfc1c1a3f737087257/src/libstd/sys_common/remutex.rs
|
||||
/// It provides the same interface as <https://github.com/rust-lang/rust/blob/5edaa7eefd76d4996dcf85dfc1c1a3f737087257/src/libstd/sys_common/remutex.rs>
|
||||
|
||||
pub struct ReentrantMutex<T> {
|
||||
mutex: HandOverHandMutex,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue