Skip to content

Commit

Permalink
chore: sync ast changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jul 15, 2024
1 parent d3df3c2 commit f85188b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/oxc_ast/src/generated/visit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pub trait Visit<'a>: Sized {
// SAFETY:
// This should be safe as long as `src` is an reference from the allocator.
// But honestly, I'm not really sure if this is safe.

unsafe { std::mem::transmute(t) }
}

Expand Down
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ready:
just test
just lint
just doc
just ast
cargo shear
git status

Expand Down Expand Up @@ -153,5 +154,6 @@ website path:
cargo run -p website -- linter-cli > {{path}}/src/docs/guide/usage/linter/generated-cli.md
cargo run -p website -- linter-schema-markdown > {{path}}/src/docs/guide/usage/linter/generated-config.md

codegen:
# sync ast changes
ast:
cargo run -p oxc_ast_codegen

0 comments on commit f85188b

Please sign in to comment.