From 260018c6ccf062b99d58de9c87e33d80853ba76b Mon Sep 17 00:00:00 2001 From: Joseph Wilson Date: Wed, 7 Feb 2024 22:16:24 +1300 Subject: [PATCH] Fix typo in Stroke::repr (#3374) --- crates/typst/src/visualize/stroke.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typst/src/visualize/stroke.rs b/crates/typst/src/visualize/stroke.rs index d060ad090..97d134284 100644 --- a/crates/typst/src/visualize/stroke.rs +++ b/crates/typst/src/visualize/stroke.rs @@ -311,7 +311,7 @@ impl Repr for Stroke { } if let Smart::Custom(dash) = &dash { r.push_str(sep); - r.push_str("cap: "); + r.push_str("dash: "); if let Some(dash) = dash { r.push_str(&dash.repr()); } else {