summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-03-09 11:59:33 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-09 11:59:33 +0100
commite236bd695aae4f07518479983c3da2b214f0b361 (patch)
tree52f7177fb7a31494a0d021c5f1c238145577a7c9 /widget
parenta341e39df63e9c4860eb796bf5c4b6a9b41116a2 (diff)
parent500ba962d17853bdef7aed49b150dbe3f45692e9 (diff)
downloadiced-e236bd695aae4f07518479983c3da2b214f0b361.tar.gz
iced-e236bd695aae4f07518479983c3da2b214f0b361.tar.bz2
iced-e236bd695aae4f07518479983c3da2b214f0b361.zip
Merge pull request #2317 from rustrover/master
fix some comments
Diffstat (limited to '')
-rw-r--r--widget/src/image/viewer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/image/viewer.rs b/widget/src/image/viewer.rs
index 9666ff9f..f45c401a 100644
--- a/widget/src/image/viewer.rs
+++ b/widget/src/image/viewer.rs
@@ -126,7 +126,7 @@ where
};
// Only calculate viewport sizes if the images are constrained to a limited space.
- // If they are Fill|Portion let them expand within their alotted space.
+ // If they are Fill|Portion let them expand within their allotted space.
match expansion_size {
Length::Shrink | Length::Fixed(_) => {
let aspect_ratio = width as f32 / height as f32;