all: address clippy lints
This commit is contained in:
parent
0e49b33a7f
commit
669d995771
7 changed files with 10 additions and 31 deletions
|
|
@ -31,20 +31,15 @@ use {
|
|||
thiserror::Error,
|
||||
};
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Default)]
|
||||
pub enum XInputModel {
|
||||
None,
|
||||
#[default]
|
||||
Passive,
|
||||
Local,
|
||||
Global,
|
||||
}
|
||||
|
||||
impl Default for XInputModel {
|
||||
fn default() -> Self {
|
||||
Self::Passive
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Default, Debug)]
|
||||
pub struct IcccmHints {
|
||||
pub flags: Cell<i32>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue