Skip to content

Commit

Permalink
util: Reduce sleep duration in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 24, 2023
1 parent c5e30b6 commit db7b9a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions portable-atomic-util/src/arc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl<T: ?Sized> Shared<T> {
/// });
/// }
/// # // Sleep to give MIRI time to catch up.
/// # std::thread::sleep(std::time::Duration::from_secs(3));
/// # std::thread::sleep(std::time::Duration::from_secs(1));
/// ```
pub struct Arc<T: ?Sized> {
/// The inner heap allocation.
Expand Down Expand Up @@ -125,7 +125,7 @@ pub struct Arc<T: ?Sized> {
/// assert_eq!(*five, 5);
/// });
/// # // Sleep to give MIRI time to catch up.
/// # std::thread::sleep(std::time::Duration::from_secs(3));
/// # std::thread::sleep(std::time::Duration::from_secs(1));
/// ```
pub struct Weak<T: ?Sized> {
/// The inner heap allocation.
Expand Down

0 comments on commit db7b9a8

Please sign in to comment.