Skip to content

Commit

Permalink
fix: spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
rzvxa committed Apr 15, 2024
1 parent 285aa42 commit 50df74f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_ast/src/traverse/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//!
//! Based on `GhostCell`.
//! All method implementations copied verbatim from original version by paper's authors
//! https://gitlab.mpi-sws.org/FP/ghostcell/-/blob/master/ghostcell/src/lib.rs
//! and `ghost_cell` crate https://docs.rs/ghost-cell .
//! <https://gitlab.mpi-sws.org/FP/ghostcell/-/blob/master/ghostcell/src/lib.rs>
//! and `ghost_cell` crate `<https://docs.rs/ghost-cell>`.
//!
//! Only difference is that instead of using a lifetime to constrain the life of access tokens,
//! here we provide only an unsafe method `Token::new_unchecked` and the user must maintain
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_macros/src/ast_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn validate_variant(var: &Variant) {

assert!(
matches!(var.fields, Fields::Unnamed(_) | Fields::Unit),
"Currently, `ast_node` attribute only supports unamed and unit enum variants."
"Currently, `ast_node` attribute only supports unnamed and unit enum variants."
);
}

Expand Down

0 comments on commit 50df74f

Please sign in to comment.