Fix dobule "for" typo (#3189)
This commit is contained in:
parent
cbdf748a3b
commit
f2769f3010
|
|
@ -72,13 +72,13 @@ impl<'a> StripBuilder<'a> {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Allocate space for for one column/row.
|
/// Allocate space for one column/row.
|
||||||
pub fn size(mut self, size: Size) -> Self {
|
pub fn size(mut self, size: Size) -> Self {
|
||||||
self.sizing.add(size);
|
self.sizing.add(size);
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Allocate space for for several columns/rows at once.
|
/// Allocate space for several columns/rows at once.
|
||||||
pub fn sizes(mut self, size: Size, count: usize) -> Self {
|
pub fn sizes(mut self, size: Size, count: usize) -> Self {
|
||||||
for _ in 0..count {
|
for _ in 0..count {
|
||||||
self.sizing.add(size);
|
self.sizing.add(size);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue