We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clippy::uninlined_format_args
1 parent eda44f6 commit 4e35586Copy full SHA for 4e35586
src/r3_port_std/src/ums/tests.rs
@@ -105,9 +105,7 @@ fn preempt() {
105
.zip(new_counters.iter())
106
.enumerate()
107
.all(|(i, (old, new))| (thread_i == i) == (old != new)),
108
- "old_counters = {:?}, new_counters = {:?}",
109
- old_counters,
110
- new_counters,
+ "old_counters = {old_counters:?}, new_counters = {new_counters:?}",
111
);
112
};
113
@@ -226,8 +224,7 @@ fn yield_ring(count: usize) {
226
224
227
225
assert!(
228
new_counters.iter().all(|&c| c != 0),
229
- "new_counters = {:?}",
230
+ "new_counters = {new_counters:?}",
231
232
233
st.done.store(true, Ordering::Relaxed);
0 commit comments