Fix further clippy lints

... and explicitly annotate crates as well.
This commit is contained in:
Héctor Ramón Jiménez 2022-07-09 18:03:59 +02:00
parent 33a24b5821
commit 2f76a10a1d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
33 changed files with 197 additions and 85 deletions

View file

@ -5,7 +5,7 @@ bitflags! {
#[derive(Default)]
pub struct Modifiers: u32{
/// The "shift" key.
const SHIFT = 0b100 << 0;
const SHIFT = 0b100;
// const LSHIFT = 0b010 << 0;
// const RSHIFT = 0b001 << 0;
//