Allow(unused_imports) on prelude imports
[rust-lightning] / lightning / src / util / invoice.rs
index 0612ff73cf350933afa3906aa75f75a120d7900a..b6cf452ffc955935a55a3e4cb801c649fb10d915 100644 (file)
@@ -1,7 +1,9 @@
 //! Low level invoice utilities.
 
 use bitcoin::bech32::{u5, FromBase32};
-use prelude::*;
+
+#[allow(unused)]
+use crate::prelude::*;
 
 /// Construct the invoice's HRP and signatureless data into a preimage to be hashed.
 pub fn construct_invoice_preimage(hrp_bytes: &[u8], data_without_signature: &[u5]) -> Vec<u8> {