clippy
This commit is contained in:
@@ -36,6 +36,6 @@ impl Countdown {
|
||||
self.i_string = self.i.to_string();
|
||||
if self.i == 0 {
|
||||
self.reset();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ pub enum ElevationExitMethod<'a> {
|
||||
|
||||
pub fn is_cursor_visible() -> bool {
|
||||
let mut ci = CURSORINFO {
|
||||
cbSize: std::mem::size_of::<CURSORINFO>() as u32,
|
||||
cbSize: u32::try_from(std::mem::size_of::<CURSORINFO>()).unwrap(),
|
||||
..Default::default()
|
||||
};
|
||||
unsafe {
|
||||
|
||||
Reference in New Issue
Block a user