Skip to content

Commit 5c97130

Browse files
committed
Fix clippy::explicit_iter_loop (pedantic)
https://rust-lang.github.io/rust-clippy/master/index.html#explicit_iter_loop Signed-off-by: Anders Kaseorg <andersk@mit.edu>
1 parent b9d3ec8 commit 5c97130

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gc/src/trace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ unsafe impl<T: Trace, S: Trace> Trace for HashSet<T, S> {
340340
impl<T> Finalize for LinkedList<T> {}
341341
unsafe impl<T: Trace> Trace for LinkedList<T> {
342342
custom_trace!(this, {
343-
for v in this.iter() {
343+
for v in this {
344344
mark(v);
345345
}
346346
});

0 commit comments

Comments
 (0)