]> git.bitcoin.ninja Git - rust-lightning/commitdiff
f - Remove unused lifetime
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 31 Jan 2022 21:09:17 +0000 (15:09 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 31 Jan 2022 21:11:37 +0000 (15:11 -0600)
lightning/src/routing/network_graph.rs

index c641ced7de84d59127e7e7ca63dc4968f04a85f2..1affc960fc89ea17fe6642eb8f059035b31f2df9 100644 (file)
@@ -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 }