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
|
||||
// [`Length::FillPortion`].
|
||||
/// Returns `true` if the [`Length`] is either [`Length::Fill`] or
|
||||
/// [`Length::FillPortion`].
|
||||
pub fn is_fill(&self) -> bool {
|
||||
self.fill_factor() != 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue