summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst-pdf/src/gradient.rs2
-rw-r--r--crates/typst-syntax/src/ast.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-pdf/src/gradient.rs b/crates/typst-pdf/src/gradient.rs
index 28078365..0cbe4536 100644
--- a/crates/typst-pdf/src/gradient.rs
+++ b/crates/typst-pdf/src/gradient.rs
@@ -166,7 +166,7 @@ pub fn write_gradients(
(chunk, out)
}
-/// Writes an expotential or stitched function that expresses the gradient.
+/// Writes an exponential or stitched function that expresses the gradient.
fn shading_function(
gradient: &Gradient,
chunk: &mut PdfChunk,
diff --git a/crates/typst-syntax/src/ast.rs b/crates/typst-syntax/src/ast.rs
index 5fbd1142..5cd28de3 100644
--- a/crates/typst-syntax/src/ast.rs
+++ b/crates/typst-syntax/src/ast.rs
@@ -1439,7 +1439,7 @@ pub enum BinOp {
Assign,
/// The containment operator: `in`.
In,
- /// The inversed containment operator: `not in`.
+ /// The inverse containment operator: `not in`.
NotIn,
/// The add-assign operator: `+=`.
AddAssign,