summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-16 17:37:24 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-16 18:19:37 +0700
commit8b5c9dfa71f770281ca277163c320571c39ee572 (patch)
tree95c9bc190a7de0fcde7b0dfe767a0c2eb7fd43ce /native
parent395eacfc103e3123a10bebe4a9330f7c126650a4 (diff)
downloadiced-8b5c9dfa71f770281ca277163c320571c39ee572.tar.gz
iced-8b5c9dfa71f770281ca277163c320571c39ee572.tar.bz2
iced-8b5c9dfa71f770281ca277163c320571c39ee572.zip
Make documentation of `Image::fit` consistent
Diffstat (limited to 'native')
-rw-r--r--native/src/widget/image.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/widget/image.rs b/native/src/widget/image.rs
index b253b1b8..f2b8ef2f 100644
--- a/native/src/widget/image.rs
+++ b/native/src/widget/image.rs
@@ -54,7 +54,7 @@ impl<Handle> Image<Handle> {
self
}
- /// Sets the image fit
+ /// Sets the [`ContentFit`] of the [`Image`].
///
/// Defaults to [`ContentFit::Contain`]
pub fn fit(self, fit: ContentFit) -> Self {