From d9b7daa844fb3b93af59eaa3f9d6534b4f8986e3 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sun, 20 Nov 2022 15:30:19 -0500 Subject: [PATCH] Use rustc-hash --- parser/Cargo.toml | 4 ++-- parser/src/function.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 {