diff options
Diffstat (limited to 'crates/typst-syntax')
| -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> { |
