diff options
| author | Max <me@mkor.je> | 2024-08-20 15:12:12 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-20 15:12:12 +0000 |
| commit | cefca7a7d849bc4136fe314fe59a49b70219dbd7 (patch) | |
| tree | 28818df2035762251c29ba0295a48fab4284eec1 /crates/typst-syntax/src | |
| parent | 986d624b3a19df757b1ad05576cc0fb1d78dc2d4 (diff) | |
Fix typos (#4784)
Diffstat (limited to 'crates/typst-syntax/src')
| -rw-r--r-- | crates/typst-syntax/src/ast.rs | 2 | ||||
| -rw-r--r-- | crates/typst-syntax/src/node.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-syntax/src/ast.rs b/crates/typst-syntax/src/ast.rs index 3d3a85ad..5fbd1142 100644 --- a/crates/typst-syntax/src/ast.rs +++ b/crates/typst-syntax/src/ast.rs @@ -1443,7 +1443,7 @@ pub enum BinOp { NotIn, /// The add-assign operator: `+=`. AddAssign, - /// The subtract-assign oeprator: `-=`. + /// The subtract-assign operator: `-=`. SubAssign, /// The multiply-assign operator: `*=`. MulAssign, diff --git a/crates/typst-syntax/src/node.rs b/crates/typst-syntax/src/node.rs index bc378e66..a3487e45 100644 --- a/crates/typst-syntax/src/node.rs +++ b/crates/typst-syntax/src/node.rs @@ -824,7 +824,7 @@ pub enum Side { After, } -/// Access to leafs. +/// Access to leaves. impl<'a> LinkedNode<'a> { /// Get the rightmost non-trivia leaf before this node. pub fn prev_leaf(&self) -> Option<Self> { |
