Merge pull request #2892 from edwloef/fix_is_fill_docs
fix doc comment of `Length::is_fill`
This commit is contained in:
commit
a3db4477b4
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