From 4032703991743345fef75e53fa3944ccf0138b68 Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Sun, 21 Apr 2024 10:09:03 +0200 Subject: [PATCH] Fix a couple of typos --- crates/path/src/path.rs | 3 +-- crates/tessellation/src/fill.rs | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/crates/path/src/path.rs b/crates/path/src/path.rs index 3cc03e0a..2e52f335 100644 --- a/crates/path/src/path.rs +++ b/crates/path/src/path.rs @@ -1474,7 +1474,7 @@ fn test_reverse_path_simple() { let mut it = p2.iter_with_attributes(); - // Using a function that explicits the argument types works around type inference issue. + // Using a function that explicitly states the argument types works around type inference issue. fn check<'l>( a: Option), Point>>, b: Option), Point>>, @@ -1553,7 +1553,6 @@ fn test_reverse_path_1() { let mut it = p1.reversed().with_attributes(); - // Using a function that explicits the argument types works around type inference issue. fn check<'l>( a: Option), Point>>, b: Option), Point>>, diff --git a/crates/tessellation/src/fill.rs b/crates/tessellation/src/fill.rs index 0dea18af..2c32ed3f 100644 --- a/crates/tessellation/src/fill.rs +++ b/crates/tessellation/src/fill.rs @@ -202,7 +202,7 @@ struct ActiveEdges { } struct Span { - /// We store `MonotoneTesselator` behind a `Box` for performance purposes. + /// We store `MonotoneTessellator` behind a `Box` for performance purposes. /// For more info, see [Issue #621](https://github.com/nical/lyon/pull/621). tess: Option>, } @@ -223,7 +223,7 @@ impl Span { struct Spans { spans: Vec, - /// We store `MonotoneTesselator` behind a `Box` for performance purposes. + /// We store `MonotoneTessellator` behind a `Box` for performance purposes. /// For more info, see [Issue #621](https://github.com/nical/lyon/pull/621). #[allow(clippy::vec_box)] pool: Vec>,