Make documentation of Image::fit consistent
This commit is contained in:
parent
395eacfc10
commit
8b5c9dfa71
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ impl<Handle> Image<Handle> {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets the image fit
|
/// Sets the [`ContentFit`] of the [`Image`].
|
||||||
///
|
///
|
||||||
/// Defaults to [`ContentFit::Contain`]
|
/// Defaults to [`ContentFit::Contain`]
|
||||||
pub fn fit(self, fit: ContentFit) -> Self {
|
pub fn fit(self, fit: ContentFit) -> Self {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue