Clean up warnings

This commit is contained in:
Adam Whitehurst
2020-03-07 13:03:10 -08:00
parent 54a7112ad9
commit 49c7143144
6 changed files with 28 additions and 28 deletions

View File

@ -67,7 +67,7 @@ impl Input {
/// Whether input has been pressed for longer than `threshold`
pub fn is_long_press(&self, threshold: Duration) -> bool {
(self.is_pressed() && self.duration >= threshold)
self.is_pressed() && self.duration >= threshold
}
/// Handles logic of updating state of Input