about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/sync
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2024-03-19 21:58:18 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2024-03-20 08:49:13 -0400
commit283db5abfcf8162c27bce435e5653a701008ec1d (patch)
tree872e3923b13d7e1ccc9aee46c20276cfac28c537 /compiler/rustc_data_structures/src/sync
parent02f193059528c6dd93f042ce277094f1d14cae77 (diff)
downloadrust-283db5abfcf8162c27bce435e5653a701008ec1d.tar.gz
rust-283db5abfcf8162c27bce435e5653a701008ec1d.zip
Workaround for rustdoc bug in new beta
Filed #122758 to track a proper fix, but this seems to solve the
problem in the meantime and is probably OK in terms of impact on
(internal) doc quality.
Diffstat (limited to 'compiler/rustc_data_structures/src/sync')
-rw-r--r--compiler/rustc_data_structures/src/sync/lock.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/sync/lock.rs b/compiler/rustc_data_structures/src/sync/lock.rs
index 040a8aa6b63..756984642c7 100644
--- a/compiler/rustc_data_structures/src/sync/lock.rs
+++ b/compiler/rustc_data_structures/src/sync/lock.rs
@@ -189,6 +189,7 @@ mod no_sync {
     use super::Mode;
     use std::cell::RefCell;
 
+    #[doc(no_inline)]
     pub use std::cell::RefMut as LockGuard;
 
     pub struct Lock<T>(RefCell<T>);