fix some comments

Signed-off-by: rustrover <seekseat@126.com>
This commit is contained in:
rustrover 2024-03-09 15:26:37 +08:00
parent a341e39df6
commit 500ba962d1
7 changed files with 8 additions and 8 deletions

View file

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