Remove unnecessary clone call in Transformation

This commit is contained in:
Héctor Ramón Jiménez 2020-03-29 15:22:17 +02:00
parent 9e139e6ca7
commit 3f6c6b7b02

View File

@ -49,6 +49,6 @@ impl AsRef<[f32; 16]> for Transformation {
impl From<Transformation> for [f32; 16] {
fn from(t: Transformation) -> [f32; 16] {
t.as_ref().clone()
*t.as_ref()
}
}