From: Jeffrey Czyz Date: Mon, 31 Jan 2022 21:09:17 +0000 (-0600) Subject: f - Remove unused lifetime X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=a2e7a6c639c9387f2da2eb49b54b255ff34e1922;p=rust-lightning f - Remove unused lifetime --- diff --git a/lightning/src/routing/network_graph.rs b/lightning/src/routing/network_graph.rs index c641ced7d..1affc960f 100644 --- a/lightning/src/routing/network_graph.rs +++ b/lightning/src/routing/network_graph.rs @@ -705,7 +705,7 @@ pub struct DirectedChannelInfo<'a> { target: &'a NodeId, } -impl<'a: 'b, 'b> DirectedChannelInfo<'a> { +impl<'a> DirectedChannelInfo<'a> { /// Returns information for the channel. pub fn channel(&self) -> &'a ChannelInfo { self.channel }