summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrozolotl <44589151+frozolotl@users.noreply.github.com>2023-11-13 11:52:57 +0100
committerGitHub <noreply@github.com>2023-11-13 11:52:57 +0100
commit1f273eb88fd58d51e1f9f9a375899a3a2ef954c8 (patch)
tree6c08fd3f1958c049b3778ea22cb318eddd7ed742
parent778802e5a802829c3b06b37ff599c36c75280f09 (diff)
Fix spelling mistake (#2664)
-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