Skip to content

Commit 0723962

Browse files
committed
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.
1 parent 4320ba0 commit 0723962

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

alloc/src/testing/crash_test.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// We avoid relying on anything else in the crate, apart from the `Debug` trait.
2-
use crate::fmt::Debug;
1+
use crate::fmt::Debug; // the `Debug` trait is the only thing we use from `crate::fmt`
32
use std::cmp::Ordering;
43
use std::sync::atomic::{AtomicUsize, Ordering::SeqCst};
54

0 commit comments

Comments
 (0)