Skip to content

Commit

Permalink
chore: reformat some imports for consistency (#2768)
Browse files Browse the repository at this point in the history
  • Loading branch information
carllerche committed Aug 13, 2020
1 parent 8feebab commit 71da060
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 3 additions & 5 deletions tokio/src/sync/mpsc/block.rs
@@ -1,8 +1,6 @@
use crate::loom::{
cell::UnsafeCell,
sync::atomic::{AtomicPtr, AtomicUsize},
thread,
};
use crate::loom::cell::UnsafeCell;
use crate::loom::sync::atomic::{AtomicPtr, AtomicUsize};
use crate::loom::thread;

use std::mem::MaybeUninit;
use std::ops;
Expand Down
6 changes: 2 additions & 4 deletions tokio/src/sync/mpsc/list.rs
@@ -1,9 +1,7 @@
//! A concurrent, lock-free, FIFO list.

use crate::loom::{
sync::atomic::{AtomicPtr, AtomicUsize},
thread,
};
use crate::loom::sync::atomic::{AtomicPtr, AtomicUsize};
use crate::loom::thread;
use crate::sync::mpsc::block::{self, Block};

use std::fmt;
Expand Down

0 comments on commit 71da060

Please sign in to comment.