From a2e7a6c639c9387f2da2eb49b54b255ff34e1922 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Mon, 31 Jan 2022 15:09:17 -0600 Subject: [PATCH] f - Remove unused lifetime --- lightning/src/routing/network_graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.39.5