mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 18:08:26 +00:00
Remove redundant variable
This commit is contained in:
parent
cc626c52bc
commit
dacfd8b9c4
@ -14,7 +14,6 @@ pub trait TranslateExt {
|
|||||||
|
|
||||||
impl TranslateExt for Curve {
|
impl TranslateExt for Curve {
|
||||||
fn translate(&self, offset: impl Into<Vector<3>>) -> Self {
|
fn translate(&self, offset: impl Into<Vector<3>>) -> Self {
|
||||||
let offset = offset.into();
|
|
||||||
let geometry = self.geometry.translate(offset);
|
let geometry = self.geometry.translate(offset);
|
||||||
Curve { geometry }
|
Curve { geometry }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user