mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix typo in Stroke::repr (#3374)
This commit is contained in:
parent
70b354e887
commit
260018c6cc
@ -311,7 +311,7 @@ impl<T: Numeric + Repr> Repr for Stroke<T> {
|
|||||||
}
|
}
|
||||||
if let Smart::Custom(dash) = &dash {
|
if let Smart::Custom(dash) = &dash {
|
||||||
r.push_str(sep);
|
r.push_str(sep);
|
||||||
r.push_str("cap: ");
|
r.push_str("dash: ");
|
||||||
if let Some(dash) = dash {
|
if let Some(dash) = dash {
|
||||||
r.push_str(&dash.repr());
|
r.push_str(&dash.repr());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user