Skip to content

Commit

Permalink
Fix rust's remutex source code link
Browse files Browse the repository at this point in the history
  • Loading branch information
CYBAI committed Jun 1, 2020
1 parent b59c566 commit d2a0d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/remutex/lib.rs
Expand Up @@ -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/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.

#[macro_use]
Expand Down Expand Up @@ -151,7 +151,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/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> {
mutex: HandOverHandMutex,
Expand Down

0 comments on commit d2a0d38

Please sign in to comment.