Skip to content

Commit 2802993

Browse files
committed
Use prelude by universal import, rather than single import
This avoids the bindings trying to figure out what a `lightning::prelude::Vec` is rather than matching it as a `Vec`.
1 parent 27cc3cc commit 2802993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/sweep.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use crate::chain::{self, BestBlock, Confirm, Filter, Listen, WatchedOutput};
1414
use crate::io;
1515
use crate::ln::msgs::DecodeError;
1616
use crate::ln::types::ChannelId;
17-
use crate::prelude::Vec;
17+
use crate::prelude::*;
1818
use crate::sign::{ChangeDestinationSource, OutputSpender, SpendableOutputDescriptor};
1919
use crate::sync::Mutex;
2020
use crate::util::logger::Logger;

0 commit comments

Comments
 (0)