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