summaryrefslogtreecommitdiff
path: root/crates/typst-pdf/src/gradient.rs
diff options
context:
space:
mode:
authorMax <me@mkor.je>2024-08-20 15:12:12 +0000
committerGitHub <noreply@github.com>2024-08-20 15:12:12 +0000
commitcefca7a7d849bc4136fe314fe59a49b70219dbd7 (patch)
tree28818df2035762251c29ba0295a48fab4284eec1 /crates/typst-pdf/src/gradient.rs
parent986d624b3a19df757b1ad05576cc0fb1d78dc2d4 (diff)
Fix typos (#4784)
Diffstat (limited to 'crates/typst-pdf/src/gradient.rs')
-rw-r--r--crates/typst-pdf/src/gradient.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-pdf/src/gradient.rs b/crates/typst-pdf/src/gradient.rs
index 5f85f9ca..81dc2748 100644
--- a/crates/typst-pdf/src/gradient.rs
+++ b/crates/typst-pdf/src/gradient.rs
@@ -223,7 +223,7 @@ fn shading_function(
function
}
-/// Writes an expontential function that expresses a single segment (between two
+/// Writes an exponential function that expresses a single segment (between two
/// stops) of a gradient.
fn single_gradient(
chunk: &mut PdfChunk,