diff options
author | 2020-04-02 02:21:43 +0200 | |
---|---|---|
committer | 2020-04-02 03:44:14 +0200 | |
commit | 4fc17dfd66b9631754a15ebacf9e34b42c32391b (patch) | |
tree | 88c82be8eb20c3e6adaaa48cb6064a2e133a2dc5 /core | |
parent | c2cb1a0c81ba18dced3fcb3d181e4b701ee7ea94 (diff) | |
download | iced-4fc17dfd66b9631754a15ebacf9e34b42c32391b.tar.gz iced-4fc17dfd66b9631754a15ebacf9e34b42c32391b.tar.bz2 iced-4fc17dfd66b9631754a15ebacf9e34b42c32391b.zip |
Fix `Size::new` documentation
Diffstat (limited to 'core')
-rw-r--r-- | core/src/size.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/size.rs b/core/src/size.rs index 389b3247..4276f05f 100644 --- a/core/src/size.rs +++ b/core/src/size.rs @@ -20,7 +20,7 @@ impl Size { /// [`Size`]: struct.Size.html pub const INFINITY: Size = Size::new(f32::INFINITY, f32::INFINITY); - /// A [`Size`] of infinite width and height. + /// Creates a new [`Size`] with the given width and height. /// /// [`Size`]: struct.Size.html pub const fn new(width: f32, height: f32) -> Self { |