build warnings with rust 1.42
warning: unnecessary parentheses around block return value
--> src/layout.rs:110:13
|
110 | / (point.x > self.x && point.x < self.x + self.width
111 | | && point.y > self.y && point.y < self.y + self.height)
| |______________________________________________________________________^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
110 | point.x > self.x && point.x < self.x + self.width
111 | && point.y > self.y && point.y < self.y + self.height
|
warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
--> src/locale_config.rs:35:28
|
35 | out.write_str(self.description())
| ^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
warning: unused variable: `name`
--> src/keyboard.rs:195:10
|
195 | for (name, state) in keystates.iter() {
| ^^^^ help: consider prefixing with an underscore: `_name`
|
but there's also warnings when building on amber/debian stable.