mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Use cargo cranky instead of cargo clippy (#1820)
* Use cargo cranky instead of cargo clippy cargo cranky (https://github.com/ericseppanen/cargo-cranky) is a new tool that passes lints specified in a Cranky.toml to cargo clippy. This is a possible solution to https://github.com/rust-lang/cargo/issues/5034 * Remove `-W clippy::all` from `check.sh` (rely on `Cranky.toml` instead)
This commit is contained in:
@@ -179,8 +179,8 @@ impl<'a> Painter<'a> {
|
||||
self.ensure_render_state_for_surface(&surface);
|
||||
|
||||
let size = window.inner_size();
|
||||
let width = size.width as u32;
|
||||
let height = size.height as u32;
|
||||
let width = size.width;
|
||||
let height = size.height;
|
||||
self.surface_state = Some(SurfaceState {
|
||||
surface,
|
||||
width,
|
||||
|
||||
Reference in New Issue
Block a user