Skip to content

Commit

Permalink
Merge pull request #153 from waywardmonkeys/fix-doc-144
Browse files Browse the repository at this point in the history
doc: Fix `Ball::new` doc.
  • Loading branch information
sebcrozet authored Aug 27, 2023
2 parents 3ac8e40 + 198b692 commit 3ce6a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shape/ball.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct Ball {
}

impl Ball {
/// Creates a new ball from its radius and center.
/// Creates a new ball with the given radius.
#[inline]
pub fn new(radius: Real) -> Ball {
Ball { radius }
Expand Down

0 comments on commit 3ce6a08

Please sign in to comment.