Skip to content

Commit 75980f5

Browse files
committed
Supress clippy error
1 parent 62714a6 commit 75980f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/concurrency/weak_memory.rs

+1
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ impl<'mir, 'tcx: 'mir> StoreBuffer {
307307
Ok(())
308308
}
309309

310+
#[allow(clippy::if_same_then_else)]
310311
/// Selects a valid store element in the buffer.
311312
fn fetch_store<R: rand::Rng + ?Sized>(
312313
&self,

0 commit comments

Comments
 (0)