X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Ffeatures.rs;h=b4a5c5ae52d5282135b6e664819c2b5962ea0b2c;hb=783e8188a7bd6470d5926bf5d1bae1350996801a;hp=fe879a5688fedc806a137231899327ffaa5620fd;hpb=e0a0add9fe0b239f8a5176ab62e7ba3cb4f541ca;p=rust-lightning diff --git a/lightning/src/ln/features.rs b/lightning/src/ln/features.rs index fe879a56..b4a5c5ae 100644 --- a/lightning/src/ln/features.rs +++ b/lightning/src/ln/features.rs @@ -393,7 +393,7 @@ mod sealed { /// Tracks the set of features which a node implements, templated by the context in which it /// appears. /// -/// (C-not exported) as we map the concrete feature types below directly instead +/// This is not exported to bindings users as we map the concrete feature types below directly instead #[derive(Eq)] pub struct Features { /// Note that, for convenience, flags is LITTLE endian (despite being big-endian on the wire) @@ -622,7 +622,8 @@ impl Features { /// Create a Features given a set of flags, in little-endian. This is in reverse byte order from /// most on-the-wire encodings. - /// (C-not exported) as we don't support export across multiple T + /// + /// This is not exported to bindings users as we don't support export across multiple T pub fn from_le_bytes(flags: Vec) -> Features { Features { flags,