From 704078ac8787c929130194a76af4828e552be3c6 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 1 Sep 2024 01:08:38 +0000 Subject: [PATCH] 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. --- lightning-types/src/features.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5