fix doc comment of Length::is_fill
This commit is contained in:
parent
7a97773f17
commit
d19be6dfc8
2 changed files with 3 additions and 3 deletions
|
|
@ -37,8 +37,8 @@ impl Length {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns `true` iff the [`Length`] is either [`Length::Fill`] or
|
/// Returns `true` if the [`Length`] is either [`Length::Fill`] or
|
||||||
// [`Length::FillPortion`].
|
/// [`Length::FillPortion`].
|
||||||
pub fn is_fill(&self) -> bool {
|
pub fn is_fill(&self) -> bool {
|
||||||
self.fill_factor() != 0
|
self.fill_factor() != 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ pub trait Paragraph: Sized + Default {
|
||||||
/// Returns the [`Shaping`] strategy of the [`Paragraph`]>
|
/// Returns the [`Shaping`] strategy of the [`Paragraph`]>
|
||||||
fn shaping(&self) -> Shaping;
|
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;
|
fn bounds(&self) -> Size;
|
||||||
|
|
||||||
/// Returns the minimum boundaries that can fit the contents of the
|
/// Returns the minimum boundaries that can fit the contents of the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue