Improve Point::ORIGIN documentation
This commit is contained in:
parent
f5e7e0625e
commit
c2cb1a0c81
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ pub struct Point {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Point {
|
impl Point {
|
||||||
/// The origin (i.e. a [`Point`] with both X=0 and Y=0).
|
/// The origin (i.e. a [`Point`] at (0, 0)).
|
||||||
///
|
///
|
||||||
/// [`Point`]: struct.Point.html
|
/// [`Point`]: struct.Point.html
|
||||||
pub const ORIGIN: Point = Point::new(0.0, 0.0);
|
pub const ORIGIN: Point = Point::new(0.0, 0.0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue