Improve Point::ORIGIN documentation

This commit is contained in:
Héctor Ramón Jiménez 2020-04-02 02:20:14 +02:00
parent f5e7e0625e
commit c2cb1a0c81

View File

@ -11,7 +11,7 @@ pub struct 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
pub const ORIGIN: Point = Point::new(0.0, 0.0);