Make documentation of Image::fit consistent

This commit is contained in:
Héctor Ramón Jiménez 2022-02-16 17:37:24 +07:00
parent 395eacfc10
commit 8b5c9dfa71
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -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 {