diff --git a/ofborg/src/asynccmd.rs b/ofborg/src/asynccmd.rs index 491840f..ac7e6d7 100644 --- a/ofborg/src/asynccmd.rs +++ b/ofborg/src/asynccmd.rs @@ -189,7 +189,7 @@ impl AsyncCmd { impl SpawnedAsyncCmd { - pub fn lines<'a>(&'a mut self) -> mpsc::Iter<'a, String> { + pub fn lines(&mut self) -> mpsc::Iter<'_, String> { self.rx.iter() }