Drop some unnecessary lifetime specifiers in return type definitions
[rust-lightning] / lightning / src / chain / chaininterface.rs
index 89c57dc44c06a39ce0067f8572fc6cdba7da2de6..5cd87c49f6df717f017802363782e348bc1664f7 100644 (file)
@@ -274,7 +274,7 @@ impl<'a, CL: Deref<Target = ChainListener + 'a> + 'a, C: Deref> BlockNotifier<'a
        ///
        /// Handles re-scanning the block and calling block_connected again if listeners register new
        /// watch data during the callbacks for you (see ChainListener::block_connected for more info).
-       pub fn block_connected<'b>(&self, block: &'b Block, height: u32) {
+       pub fn block_connected(&self, block: &Block, height: u32) {
                let mut reentered = true;
                while reentered {
                        let (matched, matched_index) = self.chain_monitor.filter_block(block);