1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

Fix some typos (#5339)

The spell check pipeline in #5313 suddenly failed, this fixes these
typos and some more found via my IDEs spell checker tool
This commit is contained in:
lucasmerlin
2024-11-04 09:51:34 +01:00
committed by GitHub
parent ad14bf2490
commit 5d6a58b917
7 changed files with 9 additions and 9 deletions

View File

@@ -2029,8 +2029,8 @@ impl Tessellator {
use rayon::prelude::*;
// We only parallelize large/slow stuff, because each tessellation job
// will allocate a new Mesh, and so it creates a lot of extra memory framentation
// and callocations that is only worth it for large shapes.
// will allocate a new Mesh, and so it creates a lot of extra memory fragmentation
// and allocations that is only worth it for large shapes.
fn should_parallelize(shape: &Shape) -> bool {
match shape {
Shape::Vec(shapes) => 4 < shapes.len() || shapes.iter().any(should_parallelize),