diff --git a/crates/typst-library/src/visualize/curve.rs b/crates/typst-library/src/visualize/curve.rs index b53995464..7ba9bc15c 100644 --- a/crates/typst-library/src/visualize/curve.rs +++ b/crates/typst-library/src/visualize/curve.rs @@ -69,7 +69,7 @@ pub struct CurveElem { #[default] pub fill_rule: FillRule, - /// How to [stroke] the curve. This can be: + /// How to [stroke] the curve. /// /// Can be set to `{none}` to disable the stroke or to `{auto}` for a /// stroke of `{1pt}` black if and only if no fill is given. diff --git a/crates/typst-library/src/visualize/path.rs b/crates/typst-library/src/visualize/path.rs index 49ec5f176..e292fe189 100644 --- a/crates/typst-library/src/visualize/path.rs +++ b/crates/typst-library/src/visualize/path.rs @@ -47,7 +47,7 @@ pub struct PathElem { #[default] pub fill_rule: FillRule, - /// How to [stroke] the path. This can be: + /// How to [stroke] the path. /// /// Can be set to `{none}` to disable the stroke or to `{auto}` for a /// stroke of `{1pt}` black if and only if no fill is given. diff --git a/crates/typst-library/src/visualize/polygon.rs b/crates/typst-library/src/visualize/polygon.rs index 201109b8e..807ad46a9 100644 --- a/crates/typst-library/src/visualize/polygon.rs +++ b/crates/typst-library/src/visualize/polygon.rs @@ -35,7 +35,7 @@ pub struct PolygonElem { #[default] pub fill_rule: FillRule, - /// How to [stroke] the polygon. This can be: + /// How to [stroke] the polygon. /// /// Can be set to `{none}` to disable the stroke or to `{auto}` for a /// stroke of `{1pt}` black if and only if no fill is given.