Fix typo in Stroke::repr (#3374)

This commit is contained in:
Joseph Wilson 2024-02-07 22:16:24 +13:00 committed by GitHub
parent 70b354e887
commit 260018c6cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {