Skip to content

Commit 283db5a

Browse files
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.
1 parent 02f1930 commit 283db5a

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_data_structures/src/sync

1 file changed

+1
-0
lines changed

compiler/rustc_data_structures/src/sync/lock.rs

+1
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ mod no_sync {
189189
use super::Mode;
190190
use std::cell::RefCell;
191191

192+
#[doc(no_inline)]
192193
pub use std::cell::RefMut as LockGuard;
193194

194195
pub struct Lock<T>(RefCell<T>);

0 commit comments

Comments
 (0)