summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-02 02:20:14 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-04-02 03:44:14 +0200
commitc2cb1a0c81ba18dced3fcb3d181e4b701ee7ea94 (patch)
tree045883cd4ea808612ede77f2099a22efde2c9419 /core
parentf5e7e0625eec96f96d9dcbe514198a82bd5a49ec (diff)
downloadiced-c2cb1a0c81ba18dced3fcb3d181e4b701ee7ea94.tar.gz
iced-c2cb1a0c81ba18dced3fcb3d181e4b701ee7ea94.tar.bz2
iced-c2cb1a0c81ba18dced3fcb3d181e4b701ee7ea94.zip
Improve `Point::ORIGIN` documentation
Diffstat (limited to 'core')
-rw-r--r--core/src/point.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/point.rs b/core/src/point.rs
index 43ee2143..2b5ad154 100644
--- a/core/src/point.rs
+++ b/core/src/point.rs
@@ -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);