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.
This commit is contained in:
Mark Rousskov 2024-03-19 21:58:18 -04:00
parent 02f1930595
commit 283db5abfc

View File

@ -189,6 +189,7 @@ mod no_sync {
use super::Mode; use super::Mode;
use std::cell::RefCell; use std::cell::RefCell;
#[doc(no_inline)]
pub use std::cell::RefMut as LockGuard; pub use std::cell::RefMut as LockGuard;
pub struct Lock<T>(RefCell<T>); pub struct Lock<T>(RefCell<T>);