Skip to content

Commit

Permalink
Fix failing doc tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Sep 17, 2024
1 parent 6dafb51 commit d734601
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rubicon/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,10 @@ macro_rules! thread_local_inner {
///
/// ```rust
/// # use std::sync::atomic::AtomicU32;
/// # struct Dispatcher;
/// # impl Dispatcher {
/// # const fn new() -> Self { Self }
/// # }
/// rubicon::process_local! {
/// static FOO: AtomicU32 = AtomicU32::new(42);
/// static mut BAR: Dispatcher = Dispatcher::new();
Expand Down

0 comments on commit d734601

Please sign in to comment.