Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Dec 5, 2022
1 parent f6d37c4 commit b74f977
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions crates/fj-kernel/src/partial/objects/vertex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ impl MergeWith for PartialVertex {

impl Replace<Surface> for PartialVertex {
fn replace(&mut self, surface: Handle<Surface>) -> &mut Self {
self.curve.replace(surface.clone());
self.surface_form.replace(surface);
self.curve.replace(surface);
self
}
}
Expand Down Expand Up @@ -136,13 +135,6 @@ impl MergeWith for PartialSurfaceVertex {
}
}

impl Replace<Surface> for PartialSurfaceVertex {
fn replace(&mut self, surface: Handle<Surface>) -> &mut Self {
self.surface = Some(surface);
self
}
}

impl From<&SurfaceVertex> for PartialSurfaceVertex {
fn from(surface_vertex: &SurfaceVertex) -> Self {
Self {
Expand Down

0 comments on commit b74f977

Please sign in to comment.