Use `crate::prelude::*` to load `Vec`, rather than `crate::Vec`
authorMatt Corallo <git@bluematt.me>
Thu, 28 Sep 2023 02:45:00 +0000 (02:45 +0000)
committerMatt Corallo <git@bluematt.me>
Sun, 1 Oct 2023 00:05:01 +0000 (00:05 +0000)
This is kinda dumb, but the bindings get confused when referring
to `Vec` absolutely in a `use` statement, and there's no reason not
to load our prelude everywhere.

lightning-invoice/src/payment.rs

index 08be3d54ba502a97d0ae36b80407a290c846c10d..0247913634a24f30cab3e8bb2a77ab3c49d7fdf1 100644 (file)
@@ -9,7 +9,8 @@
 
 //! Convenient utilities for paying Lightning invoices.
 
-use crate::{Bolt11Invoice, Vec};
+use crate::Bolt11Invoice;
+use crate::prelude::*;
 
 use bitcoin_hashes::Hash;