]> git.lizzy.rs Git - rust.git/commitdiff
Use forward compatible `FxHashMap` initialization
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 16 Oct 2018 08:39:48 +0000 (10:39 +0200)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 16 Oct 2018 08:39:48 +0000 (10:39 +0200)
src/librustc_mir/interpret/eval_context.rs

index 13b6fa44de2034f26ed5d0fe9d4c108ae2427ffe..cf5358a9896720365448dc3b7f741eb56c608926 100644 (file)
@@ -213,7 +213,7 @@ pub fn new(
             param_env,
             memory: Memory::new(tcx, memory_data),
             stack: Vec::new(),
-            vtables: FxHashMap(),
+            vtables: FxHashMap::default(),
         }
     }