1
Fork 0

Deprecate the FxHashMap() and FxHashSet() constructor function hack

This commit is contained in:
Oliver Scherer 2018-10-16 10:44:26 +02:00
parent 74ff7dcb13
commit ee81739dc1
115 changed files with 318 additions and 333 deletions

View file

@ -145,7 +145,7 @@ impl SourceMap {
SourceMap {
files: Lock::new(SourceMapFiles {
file_maps: Vec::new(),
stable_id_to_source_file: FxHashMap(),
stable_id_to_source_file: FxHashMap::default(),
}),
file_loader: Box::new(RealFileLoader),
path_mapping,
@ -168,7 +168,7 @@ impl SourceMap {
SourceMap {
files: Lock::new(SourceMapFiles {
file_maps: Vec::new(),
stable_id_to_source_file: FxHashMap(),
stable_id_to_source_file: FxHashMap::default(),
}),
file_loader: file_loader,
path_mapping,