We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3082028 commit 1d6723aCopy full SHA for 1d6723a
compiler/rustc_mir_dataflow/src/points.rs
@@ -135,7 +135,7 @@ where
135
) {
136
let point = self.elements.point_from_location(location);
137
// Use internal iterator manually as it is much more efficient.
138
- state.iter().fold((), |(), node| {
+ state.iter().for_each(|node| {
139
self.values.insert(node, point);
140
});
141
}
@@ -149,7 +149,7 @@ where
149
150
151
152
153
154
155
0 commit comments