From: Matt Corallo Date: Sat, 18 Dec 2021 03:43:34 +0000 (+0000) Subject: Add a C-not exported tag to `NetGraphMsgHandler.network_graph` X-Git-Tag: v0.0.105~47^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=d26469a77a96bcf3717d321b6befce64661e8ed4;p=rust-lightning Add a C-not exported tag to `NetGraphMsgHandler.network_graph` --- diff --git a/lightning/src/routing/network_graph.rs b/lightning/src/routing/network_graph.rs index 8f3c44b80..ae597d303 100644 --- a/lightning/src/routing/network_graph.rs +++ b/lightning/src/routing/network_graph.rs @@ -251,6 +251,8 @@ where C::Target: chain::Access, L::Target: Logger /// Gets a reference to the underlying [`NetworkGraph`] which was provided in /// [`NetGraphMsgHandler::new`]. + /// + /// (C-not exported) as bindings don't support a reference-to-a-reference yet pub fn network_graph(&self) -> &G { &self.network_graph }