fix doc comment of Length::is_fill

This commit is contained in:
edwloef 2025-04-17 16:30:44 +02:00
parent 7a97773f17
commit d19be6dfc8
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -37,8 +37,8 @@ impl Length {
}
}
/// Returns `true` iff the [`Length`] is either [`Length::Fill`] or
// [`Length::FillPortion`].
/// Returns `true` if the [`Length`] is either [`Length::Fill`] or
/// [`Length::FillPortion`].
pub fn is_fill(&self) -> bool {
self.fill_factor() != 0
}

View file

@ -46,7 +46,7 @@ pub trait Paragraph: Sized + Default {
/// Returns the [`Shaping`] strategy of the [`Paragraph`]>
fn shaping(&self) -> Shaping;
/// Returns the availalbe bounds used to layout the [`Paragraph`].
/// Returns the available bounds used to layout the [`Paragraph`].
fn bounds(&self) -> Size;
/// Returns the minimum boundaries that can fit the contents of the