Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 16, 2023
1 parent 8162da5 commit e7cd2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ impl IdentLike {
}

impl Word {
pub(crate) fn from_str(atoms: &mut AtomStore, s: &str) -> Self {
pub fn from_str(atoms: &mut AtomStore, s: &str) -> Self {
match s {
"null" => Word::Null,
"true" => Word::True,
Expand Down

0 comments on commit e7cd2ca

Please sign in to comment.