Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a couple of typos #900

Merged
merged 1 commit into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions crates/path/src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Event<(Point, Attributes<'l>), Point>>,
b: Option<Event<(Point, Attributes<'l>), Point>>,
Expand Down Expand Up @@ -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<Event<(Point, Attributes<'l>), Point>>,
b: Option<Event<(Point, Attributes<'l>), Point>>,
Expand Down
4 changes: 2 additions & 2 deletions crates/tessellation/src/fill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Box<MonotoneTessellator>>,
}
Expand All @@ -223,7 +223,7 @@ impl Span {
struct Spans {
spans: Vec<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).
#[allow(clippy::vec_box)]
pool: Vec<Box<MonotoneTessellator>>,
Expand Down
Loading