Skip to content

Commit add71d4

Browse files
committed
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.
1 parent 34f36d5 commit add71d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning-invoice/src/payment.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
//! Convenient utilities for paying Lightning invoices.
1111
12-
use crate::{Bolt11Invoice, Vec};
12+
use crate::Bolt11Invoice;
13+
use crate::prelude::*;
1314

1415
use bitcoin_hashes::Hash;
1516

0 commit comments

Comments
 (0)