Skip to content

Commit

Permalink
fix clippy (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
cart authored Oct 15, 2020
1 parent dd91f8e commit b03d8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl Window {
});
}

pub fn drain_commands<'a>(&'a mut self) -> impl Iterator<Item = WindowCommand> + 'a {
pub fn drain_commands(&mut self) -> impl Iterator<Item = WindowCommand> + '_ {
self.command_queue.drain(..)
}
}
Expand Down

0 comments on commit b03d8da

Please sign in to comment.