diff --git a/crates/typst-pdf/src/gradient.rs b/crates/typst-pdf/src/gradient.rs index 280783658..0cbe45363 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 5fbd11429..5cd28de39 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,