Update src/geometry/scale.rs

Removed return

Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
Yuri6037 2021-10-24 20:24:16 +02:00 committed by GitHub
parent 91b8424a86
commit 6123c86f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ impl<T: Scalar + ClosedMul, const D: usize> Scale<T, D> {
#[inline]
#[must_use]
pub fn transform_point(&self, pt: &Point<T, D>) -> Point<T, D> {
return self * pt;
self * pt
}
}