OutboundOnionPayload: hold Vec fields as references.
[rust-lightning] / lightning / src / chain / mod.rs
index 8639e268dff842a68660218b3e57aaa392ea249f..71b29b672caf7df8dfd3129ab20bd1b2aa0c326b 100644 (file)
@@ -52,6 +52,9 @@ impl BestBlock {
        }
 
        /// Returns a `BestBlock` as identified by the given block hash and height.
+       ///
+       /// This is not exported to bindings users directly as the bindings auto-generate an
+       /// equivalent `new`.
        pub fn new(block_hash: BlockHash, height: u32) -> Self {
                BestBlock { block_hash, height }
        }