From add71d42a099a84f8ebfaf9d364bff72329fe2bc Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 28 Sep 2023 02:45:00 +0000 Subject: [PATCH] Use `crate::prelude::*` to load `Vec`, rather than `crate::Vec` 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lightning-invoice/src/payment.rs b/lightning-invoice/src/payment.rs index 08be3d54b..024791363 100644 --- a/lightning-invoice/src/payment.rs +++ b/lightning-invoice/src/payment.rs @@ -9,7 +9,8 @@ //! Convenient utilities for paying Lightning invoices. -use crate::{Bolt11Invoice, Vec}; +use crate::Bolt11Invoice; +use crate::prelude::*; use bitcoin_hashes::Hash; -- 2.39.5