mirror of
https://github.com/typst/typst
synced 2025-05-21 12:35:29 +08:00
Rerun tests
This commit is contained in:
parent
c5e3c33387
commit
1322195c9a
@ -336,12 +336,12 @@ impl<'a, 'b> Distributor<'a, 'b, '_, '_, '_> {
|
||||
.iter()
|
||||
.skip(1)
|
||||
.find_map(|child| match child {
|
||||
Child::Single(single) => {
|
||||
Some(single.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false))
|
||||
}
|
||||
Child::Multi(multi) => {
|
||||
Some(multi.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false))
|
||||
}
|
||||
Child::Single(single) => Some(
|
||||
single.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false),
|
||||
),
|
||||
Child::Multi(multi) => Some(
|
||||
multi.sticky.as_ref().map(|s| s.is_sticky_above()).unwrap_or(false),
|
||||
),
|
||||
_ => None,
|
||||
})
|
||||
.unwrap_or(false);
|
||||
|
@ -396,7 +396,7 @@ pub struct BlockElem {
|
||||
///
|
||||
/// = Chapter
|
||||
/// #lorem(10)
|
||||
///
|
||||
///
|
||||
/// #table(
|
||||
/// columns: 2,
|
||||
/// [A], [B],
|
||||
|
Loading…
x
Reference in New Issue
Block a user