mirror of https://github.com/stelzo/typst.git
Fix `Reflect` for `SpecificAlignment` (#3672)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
906637dacb
commit
bd8a029725
|
|
@ -603,11 +603,11 @@ where
|
|||
V: Reflect,
|
||||
{
|
||||
fn input() -> CastInfo {
|
||||
H::input() + V::input()
|
||||
Alignment::input()
|
||||
}
|
||||
|
||||
fn output() -> CastInfo {
|
||||
H::output() + V::output()
|
||||
Alignment::output()
|
||||
}
|
||||
|
||||
fn castable(value: &Value) -> bool {
|
||||
|
|
|
|||
Loading…
Reference in New Issue