Skip to content

Commit

Permalink
Simplify uses
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Aug 12, 2022
1 parent 9e4dda1 commit 835e0b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions crates/fj-kernel/src/algorithms/intersection/curve_face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ use std::vec;

use fj_math::Point;

use crate::{
algorithms::intersection::CurveEdgeIntersection,
objects::{Curve, Face},
};
use crate::objects::{Curve, Face};

use super::CurveEdgeIntersection;

/// The intersections between a [`Curve`] and a [`Face`], in curve coordinates
#[derive(Clone, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ impl LineSegmentIntersection {
mod tests {
use fj_math::{Line, Point, Scalar, Segment, Vector};

use crate::algorithms::intersection::LineSegmentIntersection;
use super::LineSegmentIntersection;

#[test]
fn compute_one_hit() {
Expand Down

0 comments on commit 835e0b3

Please sign in to comment.