Skip to content

Commit

Permalink
Merge pull request rust-windowing#278 from inferiorhumanorgans/iho/pu…
Browse files Browse the repository at this point in the history
…b-outline

Make Path2D#into_outline public
  • Loading branch information
pcwalton authored Mar 3, 2020
2 parents 4688480 + c8496a1 commit afd1585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canvas/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ impl Path2D {
}
}

fn into_outline(mut self) -> Outline {
pub fn into_outline(mut self) -> Outline {
self.flush_current_contour();
self.outline
}
Expand Down

0 comments on commit afd1585

Please sign in to comment.