Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Jun 9, 2020
1 parent 11a7d01 commit 557ea3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions zenoh-util/src/collections/fifo_queue.rs
Expand Up @@ -140,8 +140,7 @@ impl<'a, T> Iterator for Drain<'_, T> {
self.drained = true;
return Some(e)
}

return None
None
}

#[inline]
Expand Down

0 comments on commit 557ea3b

Please sign in to comment.