Skip to content

Commit 6efafe1

Browse files
committed
format
1 parent f163edd commit 6efafe1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/std/src/sync/rwlock/tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
use rand::Rng;
2+
13
use crate::sync::atomic::{AtomicUsize, Ordering};
24
use crate::sync::mpsc::channel;
35
use crate::sync::{
46
Arc, Barrier, MappedRwLockReadGuard, MappedRwLockWriteGuard, RwLock, RwLockReadGuard,
57
RwLockWriteGuard, TryLockError,
68
};
7-
use crate::thread;
8-
use crate::time;
9-
use rand::Rng;
9+
use crate::{thread, time};
1010

1111
#[derive(Eq, PartialEq, Debug)]
1212
struct NonCopy(i32);

0 commit comments

Comments
 (0)