X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-invoice%2Fsrc%2Flib.rs;fp=lightning-invoice%2Fsrc%2Flib.rs;h=b6abecf3256d7a6c580e6e5cfe40594fc899b96c;hb=5490366a95be2d849061e010674bce9c7ebc8bb3;hp=2164f1c530fccc6b30dbaa632a8087311a255fdd;hpb=34cdca91baa0187d13969855129073c764f4c895;p=rust-lightning diff --git a/lightning-invoice/src/lib.rs b/lightning-invoice/src/lib.rs index 2164f1c5..b6abecf3 100644 --- a/lightning-invoice/src/lib.rs +++ b/lightning-invoice/src/lib.rs @@ -117,7 +117,7 @@ pub const DEFAULT_MIN_FINAL_CLTV_EXPIRY: u64 = 18; fn __system_time_size_check() { // Use 2 * sizeof(u64) as expected size since the expected underlying implementation is storing // a `Duration` since `SystemTime::UNIX_EPOCH`. - unsafe { core::mem::transmute_copy::(&SystemTime::UNIX_EPOCH); } + unsafe { let _ = core::mem::transmute_copy::(&SystemTime::UNIX_EPOCH); } }