Skip to content

Commit

Permalink
Improve wording in doc comments
Browse files Browse the repository at this point in the history
It's a *builder*, so it *builds* stuff instead of creatings it.
  • Loading branch information
hannobraun committed Sep 12, 2022
1 parent ac90969 commit 9c2607b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-kernel/src/builder/edge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ impl HalfEdgeBuilder {
Self { surface }
}

/// Create a circle from the given radius
/// Build a circle from the given radius
pub fn circle_from_radius(&self, radius: Scalar) -> HalfEdge {
let curve = {
let local = CurveKind::Circle(Circle::new(
Expand Down Expand Up @@ -68,7 +68,7 @@ impl HalfEdgeBuilder {
HalfEdge::from_curve_and_vertices(curve, vertices)
}

/// Create a line segment from two points
/// Build a line segment from two points
pub fn line_segment_from_points(
&self,
points: [impl Into<Point<2>>; 2],
Expand Down

0 comments on commit 9c2607b

Please sign in to comment.