Skip to content

Commit 5611490

Browse files
committed
cargo fmt
1 parent 6f53ec1 commit 5611490

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rayon-core/src/registry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ use std::cell::Cell;
1313
use std::collections::hash_map::DefaultHasher;
1414
use std::hash::Hasher;
1515
use std::mem;
16-
use std::sync::atomic::{AtomicUsize, Ordering};
1716
#[allow(deprecated)]
1817
use std::sync::atomic::ATOMIC_USIZE_INIT;
18+
use std::sync::atomic::{AtomicUsize, Ordering};
1919
use std::sync::{Arc, Once, ONCE_INIT};
2020
use std::thread;
2121
use std::usize;

src/slice/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
use super::ParallelSliceMut;
44
use rand::distributions::Uniform;
5-
use rand::{thread_rng, Rng};
65
use rand::seq::SliceRandom;
6+
use rand::{thread_rng, Rng};
77
use std::cmp::Ordering::{Equal, Greater, Less};
88

99
macro_rules! sort {

tests/sort-panic-safe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ use rayon::prelude::*;
99
use std::cell::Cell;
1010
use std::cmp::{self, Ordering};
1111
use std::panic;
12-
use std::sync::atomic::Ordering::Relaxed;
1312
use std::sync::atomic::AtomicUsize;
13+
use std::sync::atomic::Ordering::Relaxed;
1414
#[allow(deprecated)]
1515
use std::sync::atomic::ATOMIC_USIZE_INIT;
1616
use std::thread;

0 commit comments

Comments
 (0)