Skip to content

Commit

Permalink
refactor(ast): AstKind::as_* methods take self (#5546)
Browse files Browse the repository at this point in the history
Make `AstKind::as_*` methods (e.g. `AstKind::as_boolean_literal`) take `self`, not `&self`.

`AstKind` is `Copy`.

See: #5506 (comment)
  • Loading branch information
overlookmotel committed Nov 9, 2024
1 parent 5cfdc05 commit d27e14f
Show file tree
Hide file tree
Showing 2 changed files with 332 additions and 332 deletions.
Loading

0 comments on commit d27e14f

Please sign in to comment.