Skip to content

Commit

Permalink
Workaround for rustdoc bug in new beta
Browse files Browse the repository at this point in the history
Filed rust-lang#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.
  • Loading branch information
Mark-Simulacrum committed Mar 20, 2024
1 parent c5fc7aa commit eb7c254
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_data_structures/src/sync/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>);
Expand Down

0 comments on commit eb7c254

Please sign in to comment.