mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Fix rust's remutex source code link
This commit is contained in:
parent
b59c566880
commit
d2a0d383cd
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
//! Re-entrant mutexes are like mutexes, but where it is expected
|
//! Re-entrant mutexes are like mutexes, but where it is expected
|
||||||
//! that a single thread may own a lock more than once.
|
//! that a single thread may own a lock more than once.
|
||||||
|
|
||||||
//! It provides the same interface as https://github.com/rust-lang/rust/blob/master/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.
|
//! so if those types are ever exported, we should be able to replace this implemtation.
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
@ -151,7 +151,7 @@ unsafe impl Send for HandOverHandMutex {}
|
||||||
|
|
||||||
/// A type for re-entrant mutexes.
|
/// A type for re-entrant mutexes.
|
||||||
///
|
///
|
||||||
/// It provides the same interface as https://github.com/rust-lang/rust/blob/master/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> {
|
pub struct ReentrantMutex<T> {
|
||||||
mutex: HandOverHandMutex,
|
mutex: HandOverHandMutex,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue