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