diff --git a/crates/typst-library/src/visualize/gradient.rs b/crates/typst-library/src/visualize/gradient.rs index cb2ade2eb..6f1c1f7fb 100644 --- a/crates/typst-library/src/visualize/gradient.rs +++ b/crates/typst-library/src/visualize/gradient.rs @@ -1143,9 +1143,9 @@ impl Repr for ConicGradient { /// What is the gradient relative to. #[derive(Cast, Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum RelativeTo { - /// The gradient is relative to itself (its own bounding box). + /// Relative to itself (its own bounding box). Self_, - /// The gradient is relative to its parent (the parent's bounding box). + /// Relative to its parent (the parent's bounding box). Parent, }