Merge pull request #810 from Cupnfish/master

fix typo
This commit is contained in:
Héctor Ramón 2021-04-01 17:54:39 +02:00 committed by GitHub
commit 854b2e0c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ impl Frame {
self.size.width self.size.width
} }
/// Returns the width of the [`Frame`]. /// Returns the height of the [`Frame`].
#[inline] #[inline]
pub fn height(&self) -> f32 { pub fn height(&self) -> f32 {
self.size.height self.size.height