summaryrefslogtreecommitdiffstats
path: root/native/src/widget/image.rs
diff options
context:
space:
mode:
Diffstat (limited to 'native/src/widget/image.rs')
-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 {