Skip to content

Commit 6da427c

Browse files
committed
fix doc comment of Length::is_fill
1 parent 388a419 commit 6da427c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/length.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ impl Length {
3737
}
3838
}
3939

40-
/// Returns `true` iff the [`Length`] is either [`Length::Fill`] or
41-
// [`Length::FillPortion`].
40+
/// Returns `true` if the [`Length`] is either [`Length::Fill`] or
41+
/// [`Length::FillPortion`].
4242
pub fn is_fill(&self) -> bool {
4343
self.fill_factor() != 0
4444
}

0 commit comments

Comments
 (0)