Skip to content

Commit

Permalink
Simplify trait method name
Browse files Browse the repository at this point in the history
There used to be another similarly-named  (and similarly-functioning)
method right next to it, but that no longer exists.
  • Loading branch information
hannobraun committed Mar 8, 2023
1 parent 0dfbc54 commit 3198922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions crates/fj-kernel/src/algorithms/sweep/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,7 @@ impl Sweep for Handle<Face> {
top_edges.push(Partial::from(top_edge));
}

top_cycle
.write()
.connect_to_closed_edges(top_edges, objects);
top_cycle.write().connect_to_edges(top_edges, objects);

for (bottom, top) in original_edges
.into_iter()
Expand Down
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/builder/cycle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub trait CycleBuilder {
/// equivalents of this cycle, form a cycle themselves.
///
/// Returns the local equivalents of the provided half-edges.
fn connect_to_closed_edges<O>(
fn connect_to_edges<O>(
&mut self,
edges: O,
objects: &mut Service<Objects>,
Expand Down Expand Up @@ -86,7 +86,7 @@ impl CycleBuilder for PartialCycle {
half_edges
}

fn connect_to_closed_edges<O>(
fn connect_to_edges<O>(
&mut self,
edges: O,
objects: &mut Service<Objects>,
Expand Down

0 comments on commit 3198922

Please sign in to comment.