summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/geom/gradient.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/geom/gradient.rs b/crates/typst/src/geom/gradient.rs
index 13ed25e3..634fb5fe 100644
--- a/crates/typst/src/geom/gradient.rs
+++ b/crates/typst/src/geom/gradient.rs
@@ -432,8 +432,8 @@ impl Gradient {
/// Creates a sharp version of this gradient.
///
- /// Sharp gradients have discreet jumps between colors, instead of a
- /// smooth transition. They are particularly useful for creating color
+ /// Sharp gradients have discrete jumps between colors, instead of a
+ /// smooth transition. They are particularly useful for creating color
/// lists for a preset gradient.
///
/// ```example