From 6123c86f9e3cbbb609b6340407b26e2b7bfedf62 Mon Sep 17 00:00:00 2001 From: Yuri6037 Date: Sun, 24 Oct 2021 20:24:16 +0200 Subject: [PATCH] Update src/geometry/scale.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed return Co-authored-by: Sébastien Crozet --- src/geometry/scale.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/geometry/scale.rs b/src/geometry/scale.rs index 773d9979..8a41c663 100755 --- a/src/geometry/scale.rs +++ b/src/geometry/scale.rs @@ -346,7 +346,7 @@ impl Scale { #[inline] #[must_use] pub fn transform_point(&self, pt: &Point) -> Point { - return self * pt; + self * pt } }