Fix clippy lints for Rust 1.90
This commit is contained in:
parent
53e4976915
commit
db5a1f6353
4 changed files with 4 additions and 6 deletions
|
|
@ -797,7 +797,7 @@ impl graphics::mesh::Renderer for Renderer {
|
|||
);
|
||||
|
||||
debug_assert!(
|
||||
mesh.indices().len() % 3 == 0,
|
||||
mesh.indices().len().is_multiple_of(3),
|
||||
"Mesh indices length must be a multiple of 3"
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue