mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
fix repr
This commit is contained in:
parent
2ac47bc13e
commit
5aa9b90a7b
@ -280,8 +280,8 @@ impl Repr for Selector {
|
|||||||
inclusive_arg
|
inclusive_arg
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Self::Within { selector, ancestor: children_selector } => {
|
Self::Within { selector, ancestor } => {
|
||||||
eco_format!("{}.contains({})", selector.repr(), children_selector.repr())
|
eco_format!("{}.within({})", selector.repr(), ancestor.repr())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user