diff --git a/parser/Cargo.toml b/parser/Cargo.toml index 26241c4..e3ce5a3 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -28,11 +28,11 @@ log = "0.4.16" num-bigint = "0.4.3" num-traits = "0.2.14" phf = "0.10.1" +rustc-hash = "1.1.0" +thiserror = "1.0" unic-emoji-char = "0.9.0" unic-ucd-ident = "0.9.0" unicode_names2 = "0.5.0" -thiserror = "1.0" -fnv = "1.0.7" [dev-dependencies] insta = "1.14.0" diff --git a/parser/src/function.rs b/parser/src/function.rs index b2b24a8..bc4d514 100644 --- a/parser/src/function.rs +++ b/parser/src/function.rs @@ -1,6 +1,6 @@ use crate::ast; use crate::error::{LexicalError, LexicalErrorType}; -use fnv::FnvHashSet; +use rustc_hash::FxHashSet; pub struct ArgumentList { pub args: Vec, @@ -54,7 +54,7 @@ pub fn parse_args(func_args: Vec) -> Result {