We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 34cdca9 + 5490366 commit 7b6a7bbCopy full SHA for 7b6a7bb
lightning-invoice/src/lib.rs
@@ -117,7 +117,7 @@ pub const DEFAULT_MIN_FINAL_CLTV_EXPIRY: u64 = 18;
117
fn __system_time_size_check() {
118
// Use 2 * sizeof(u64) as expected size since the expected underlying implementation is storing
119
// a `Duration` since `SystemTime::UNIX_EPOCH`.
120
- unsafe { core::mem::transmute_copy::<SystemTime, [u8; 16]>(&SystemTime::UNIX_EPOCH); }
+ unsafe { let _ = core::mem::transmute_copy::<SystemTime, [u8; 16]>(&SystemTime::UNIX_EPOCH); }
121
}
122
123
0 commit comments