projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34f36d5
)
Use `crate::prelude::*` to load `Vec`, rather than `crate::Vec`
author
Matt Corallo
<git@bluematt.me>
Thu, 28 Sep 2023 02:45:00 +0000
(
02:45
+0000)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/lightning-invoice/src/payment.rs
b/lightning-invoice/src/payment.rs
index 08be3d54ba502a97d0ae36b80407a290c846c10d..0247913634a24f30cab3e8bb2a77ab3c49d7fdf1 100644
(file)
--- 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;