From: Matt Corallo Date: Sun, 1 Sep 2024 01:08:38 +0000 (+0000) Subject: Specify imports manually in `types::features::sealed` X-Git-Tag: v0.0.124~2^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=704078ac8787c929130194a76af4828e552be3c6;p=rust-lightning 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. --- diff --git a/lightning-types/src/features.rs b/lightning-types/src/features.rs index 5d64a33b3..7ce87e026 100644 --- a/lightning-types/src/features.rs +++ b/lightning-types/src/features.rs @@ -88,7 +88,9 @@ use alloc::vec::Vec; use bech32::{u5, Base32Len, FromBase32, ToBase32, WriteBase32}; mod sealed { - use super::*; + use super::Features; + + use alloc::vec::Vec; /// The context in which [`Features`] are applicable. Defines which features are known to the /// implementation, though specification of them as required or optional is up to the code