mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Fix some minor clippy lints from the future
This commit is contained in:
@@ -222,7 +222,7 @@ impl Mesh {
|
||||
pub fn split_to_u16(self) -> Vec<Mesh16> {
|
||||
debug_assert!(self.is_valid());
|
||||
|
||||
const MAX_SIZE: u32 = std::u16::MAX as u32;
|
||||
const MAX_SIZE: u32 = u16::MAX as u32;
|
||||
|
||||
if self.vertices.len() <= MAX_SIZE as usize {
|
||||
// Common-case optimization:
|
||||
|
||||
Reference in New Issue
Block a user