aboutsummaryrefslogtreecommitdiffstats
path: root/components/remutex
diff options
context:
space:
mode:
authorCYBAI <cyb.ai.815@gmail.com>2020-06-01 20:00:48 +0900
committerCYBAI <cyb.ai.815@gmail.com>2020-06-01 21:24:05 +0900
commitd2a0d383cd8e4ef4cacb05ca890594fcb3412489 (patch)
treeac1e9b742bba4c8121797753bddd9906a796cb83 /components/remutex
parentb59c5668807eda8f8b516d0c88becd7512ce8b45 (diff)
downloadservo-d2a0d383cd8e4ef4cacb05ca890594fcb3412489.tar.gz
servo-d2a0d383cd8e4ef4cacb05ca890594fcb3412489.zip
Fix rust's remutex source code link
Diffstat (limited to 'components/remutex')
-rw-r--r--components/remutex/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/remutex/lib.rs b/components/remutex/lib.rs
index 5e48c88a94c..bf897a8928a 100644
--- a/components/remutex/lib.rs
+++ b/components/remutex/lib.rs
@@ -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]
@@ -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,