Skip to content

Commit

Permalink
Merge pull request #2088 from hannobraun/split
Browse files Browse the repository at this point in the history
Make minor cleanups in `operations::split`
  • Loading branch information
hannobraun authored Nov 13, 2023
2 parents 69dca69 + 65e7d25 commit 3513c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ pub trait SplitHalfEdge {
/// The caller is responsible for also split this half-edge's sibling, if
/// appropriate, to preserve validity.
#[must_use]
fn split(
fn split_half_edge(
&self,
point: impl Into<Point<1>>,
services: &mut Services,
) -> [HalfEdge; 2];
}

impl SplitHalfEdge for HalfEdge {
fn split(
fn split_half_edge(
&self,
point: impl Into<Point<1>>,
services: &mut Services,
Expand Down
4 changes: 2 additions & 2 deletions crates/fj-core/src/operations/split/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
//! See [`SplitHalfEdge`], which is currently the only trait in this module, for
//! more information.
mod edge;
mod half_edge;

pub use self::edge::SplitHalfEdge;
pub use self::half_edge::SplitHalfEdge;

0 comments on commit 3513c86

Please sign in to comment.