Adjust some comments on individual use
declarations. · model-checking/verify-rust-std@0723962 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 0723962
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.
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff 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` | |
3 | 2 | use std::cmp::Ordering; |
4 | 3 | use std::sync::atomic::{AtomicUsize, Ordering::SeqCst}; |
5 | 4 |