From 91b8424a860eb8d0756aebd735d908319db8e246 Mon Sep 17 00:00:00 2001 From: Yuri6037 Date: Sun, 24 Oct 2021 20:21:07 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/geometry/scale.rs b/src/geometry/scale.rs index fc966013..773d9979 100755 --- a/src/geometry/scale.rs +++ b/src/geometry/scale.rs @@ -249,9 +249,9 @@ impl Scale { .vector .map(|e| { if e != T::zero() { - return T::one() / e; + T::one() / e } else { - return T::zero(); + T::zero() } }) .into();