Remove redundant variable

This commit is contained in:
Hanno Braun 2025-04-24 11:15:49 +02:00
parent cc626c52bc
commit dacfd8b9c4

View File

@ -14,7 +14,6 @@ pub trait TranslateExt {
impl TranslateExt for Curve {
fn translate(&self, offset: impl Into<Vector<3>>) -> Self {
let offset = offset.into();
let geometry = self.geometry.translate(offset);
Curve { geometry }
}