Skip to content

Commit 704078a

Browse files
committed
Specify imports manually in types::features::sealed
There's not a lot of reason to do this, but sadly the bindings don't currently resolve wildcard imports at all, and I don't want to deal with implementing it right now.
1 parent 7e513f9 commit 704078a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning-types/src/features.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ use alloc::vec::Vec;
8888
use bech32::{u5, Base32Len, FromBase32, ToBase32, WriteBase32};
8989

9090
mod sealed {
91-
use super::*;
91+
use super::Features;
92+
93+
use alloc::vec::Vec;
9294

9395
/// The context in which [`Features`] are applicable. Defines which features are known to the
9496
/// implementation, though specification of them as required or optional is up to the code

0 commit comments

Comments
 (0)