mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Increase MSRV to 1.67 (#3234)
* Bump MSRV to 1.67 * clippy fixes * cargo clippy: inline format args * Add `clippy::uninlined_format_args` to cranky lints * Fix clippy on wasm * More clippy fixes
This commit is contained in:
@@ -106,7 +106,7 @@ impl AllocInfo {
|
||||
element_size: ElementSize::Homogeneous(element_size),
|
||||
num_allocs: 1,
|
||||
num_elements: slice.len(),
|
||||
num_bytes: slice.len() * element_size,
|
||||
num_bytes: std::mem::size_of_val(slice),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user