Skip to content

Commit

Permalink
Update typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Nov 1, 2024
1 parent de18ef2 commit 4a5b53f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/egui/src/widgets/checkbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl<'a> Checkbox<'a> {

/// Display an indeterminate state (neither checked nor unchecked)
///
/// This only affects the checkboxes appearance. It will still toggle its boolean value when
/// This only affects the checkbox's appearance. It will still toggle its boolean value when
/// clicked.
#[inline]
pub fn indeterminate(mut self, indeterminate: bool) -> Self {
Expand Down
2 changes: 1 addition & 1 deletion crates/epaint/src/tessellator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@ impl Tessellator {

// We only parallelize large/slow stuff, because each tessellation job
// will allocate a new Mesh, and so it creates a lot of extra memory fragmentation
// and call locations that is only worth it for large shapes.
// 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),
Expand Down

0 comments on commit 4a5b53f

Please sign in to comment.