summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvgeniy A. Dushistov <dushistov@mail.ru>2019-09-22 16:55:50 +0300
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-09-23 10:51:04 +0200
commit43f8968f9afd4adc4be5ab62d8c5e7e198d38929 (patch)
tree23a9ba658fb263029366823108729272c395d27b /src
parent86b38f4a8067eb857ade404f889968a63d43aa33 (diff)
fxhash -> rustc-hash
fixes #1616
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 7d8499ef..57d46be7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -23,7 +23,7 @@ extern crate cexpr;
#[allow(unused_extern_crates)]
extern crate cfg_if;
extern crate clang_sys;
-extern crate fxhash;
+extern crate rustc_hash;
#[macro_use]
extern crate lazy_static;
extern crate peeking_take_while;
@@ -99,8 +99,8 @@ use std::sync::Arc;
use std::{env, iter};
// Some convenient typedefs for a fast hash map and hash set.
-type HashMap<K, V> = ::fxhash::FxHashMap<K, V>;
-type HashSet<K> = ::fxhash::FxHashSet<K>;
+type HashMap<K, V> = ::rustc_hash::FxHashMap<K, V>;
+type HashSet<K> = ::rustc_hash::FxHashSet<K>;
pub(crate) use std::collections::hash_map::Entry;
fn args_are_cpp(clang_args: &[String]) -> bool {