Fix clippy lints for all crates and features
... and check those in CI as well!
This commit is contained in:
parent
d53cc5498b
commit
2065a40f64
55 changed files with 237 additions and 232 deletions
|
|
@ -173,7 +173,6 @@ impl Backend {
|
|||
glow_glyph::VerticalAlign::Bottom
|
||||
}
|
||||
}),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
self.text_pipeline.queue(text);
|
||||
|
|
|
|||
|
|
@ -116,14 +116,7 @@ impl Pipeline {
|
|||
// TODO: Remove this allocation (or allocate only when needed)
|
||||
let indices: Vec<i32> = (0..instances.len().min(MAX_QUADS) as i32)
|
||||
.flat_map(|i| {
|
||||
[
|
||||
0 + i * 4,
|
||||
1 + i * 4,
|
||||
2 + i * 4,
|
||||
2 + i * 4,
|
||||
1 + i * 4,
|
||||
3 + i * 4,
|
||||
]
|
||||
[i * 4, 1 + i * 4, 2 + i * 4, 2 + i * 4, 1 + i * 4, 3 + i * 4]
|
||||
})
|
||||
.cycle()
|
||||
.take(instances.len() * 6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue