Update src/geometry/scale_coordinates.rs

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

View File

@ -18,7 +18,7 @@ macro_rules! deref_impl(
#[inline]
fn deref(&self) -> &Self::Target {
unsafe { &*(self as *const Scale<T, $D> as *const Self::Target) }
self.vector.deref()
}
}