From 339397bf23b52ae71447c899139e2e4d2f316fe8 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 29 May 2019 15:21:02 -0700 Subject: [PATCH] Revert accidental change --- geometry/src/stroke.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/geometry/src/stroke.rs b/geometry/src/stroke.rs index 5e03ad16..1e81b410 100644 --- a/geometry/src/stroke.rs +++ b/geometry/src/stroke.rs @@ -51,7 +51,7 @@ impl<'a> OutlineStrokeToFill<'a> { OutlineStrokeToFill { input, output: Outline::new(), style } } - pub fn offset(&mut self) -> &mut OutlineStrokeToFill<'a> { + pub fn offset(&mut self) { let mut new_contours = vec![]; for input in &self.input.contours { let closed = input.closed; @@ -84,8 +84,6 @@ impl<'a> OutlineStrokeToFill<'a> { self.output.contours = new_contours; self.output.bounds = new_bounds.unwrap_or_else(|| RectF32::default()); - - self } #[inline]