Skip to content

Commit 97a63ca

Browse files
committed
Use default for Lock.
1 parent 7a2dc26 commit 97a63ca

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_query_system/src/dep_graph

1 file changed

+1
-1
lines changed

compiler/rustc_query_system/src/dep_graph/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ pub enum CurrentDepNode<K> {
153153

154154
impl<K> CurrentDepNode<K> {
155155
pub fn regular(dep_node: DepNode<K>) -> CurrentDepNode<K> {
156-
CurrentDepNode::Regular { dep_node, expn_disambiguators: Lock::new(UnhashMap::default()) }
156+
CurrentDepNode::Regular { dep_node, expn_disambiguators: Default::default() }
157157
}
158158
}
159159

0 commit comments

Comments
 (0)