summaryrefslogtreecommitdiffstats
path: root/graphics/src
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-04-01 17:54:39 +0200
committerLibravatar GitHub <noreply@github.com>2021-04-01 17:54:39 +0200
commit854b2e0c4ddffc20449266ea064d5a583c575284 (patch)
tree70b91d2eca2291a4d1d7444363cf6bda8d7376b0 /graphics/src
parent90fee3a9237e71967eb0a63d8cef4f8ce1e5d2b5 (diff)
parentca4257ff5c252e84e4bfe8a56b43801f26b56ef6 (diff)
downloadiced-854b2e0c4ddffc20449266ea064d5a583c575284.tar.gz
iced-854b2e0c4ddffc20449266ea064d5a583c575284.tar.bz2
iced-854b2e0c4ddffc20449266ea064d5a583c575284.zip
Merge pull request #810 from Cupnfish/master
fix typo
Diffstat (limited to '')
-rw-r--r--graphics/src/widget/canvas/frame.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/widget/canvas/frame.rs b/graphics/src/widget/canvas/frame.rs
index b86f9e04..5af9d11f 100644
--- a/graphics/src/widget/canvas/frame.rs
+++ b/graphics/src/widget/canvas/frame.rs
@@ -54,7 +54,7 @@ impl Frame {
self.size.width
}
- /// Returns the width of the [`Frame`].
+ /// Returns the height of the [`Frame`].
#[inline]
pub fn height(&self) -> f32 {
self.size.height