diff options
| author | Joseph Wilson <jo.alex.w@gmail.com> | 2024-02-07 22:16:24 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-07 09:16:24 +0000 |
| commit | 260018c6ccf062b99d58de9c87e33d80853ba76b (patch) | |
| tree | 7c821d53131008904662d112a0690cc00cea523d /crates | |
| parent | 70b354e887cf735db070f766e4812357dddb8a40 (diff) | |
Fix typo in Stroke::repr (#3374)
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst/src/visualize/stroke.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst/src/visualize/stroke.rs b/crates/typst/src/visualize/stroke.rs index d060ad09..97d13428 100644 --- a/crates/typst/src/visualize/stroke.rs +++ b/crates/typst/src/visualize/stroke.rs @@ -311,7 +311,7 @@ impl<T: Numeric + Repr> Repr for Stroke<T> { } 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 { |
