diff --git a/crates/typst-library/src/visualize/curve.rs b/crates/typst-library/src/visualize/curve.rs index 7ba9bc15c..13634eb77 100644 --- a/crates/typst-library/src/visualize/curve.rs +++ b/crates/typst-library/src/visualize/curve.rs @@ -43,8 +43,8 @@ use super::FixedStroke; pub struct CurveElem { /// How to fill the curve. /// - /// When setting a fill, the default stroke disappears. To create a - /// rectangle with both fill and stroke, you have to configure both. + /// When setting a fill, the default stroke disappears. To create a curve + /// with both fill and stroke, you have to configure both. pub fill: Option, /// The drawing rule used to fill the curve.