clippy: Unneeded lifetime

This commit is contained in:
Graham Christensen 2019-01-02 19:24:55 -05:00
parent e9f437d49f
commit c73cf2e328
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -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()
}