]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add a C-not exported tag to `NetGraphMsgHandler.network_graph`
authorMatt Corallo <git@bluematt.me>
Sat, 18 Dec 2021 03:43:34 +0000 (03:43 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 18 Dec 2021 20:20:23 +0000 (20:20 +0000)
lightning/src/routing/network_graph.rs

index 8f3c44b80a754bf034921b16567aee184f874e45..ae597d30364f5ca039cac07c99d5d317179a750e 100644 (file)
@@ -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
        }