mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
Adjust some comments on individual use
declarations.
When we do the big `use` reformatting there are a tiny number of cases where rustfmt moves a comment from one `use` item to another in an undesirable way. This commit pre-emptively rearranges things to prevent this from happening.
This commit is contained in:
parent
75b6ec9800
commit
7f0ccfe69d
@ -1,5 +1,4 @@
|
||||
// We avoid relying on anything else in the crate, apart from the `Debug` trait.
|
||||
use crate::fmt::Debug;
|
||||
use crate::fmt::Debug; // the `Debug` trait is the only thing we use from `crate::fmt`
|
||||
use std::cmp::Ordering;
|
||||
use std::sync::atomic::{AtomicUsize, Ordering::SeqCst};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user