Skip to content

Commit f03fae5

Browse files
committed
Fix clippy issue
1 parent 0530d65 commit f03fae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rustc_codegen_spirv/src/builder/builder_methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
627627
}
628628
}
629629

630-
#[instrument(level = "trace", skip(self), fields(ty = ?self.debug_type(ty), ptr, combined_indices = ?combined_indices.into_iter().map(|x| (self.debug_type(x.ty), x.kind)).collect::<Vec<_>>(), is_inbounds))]
630+
#[instrument(level = "trace", skip(self), fields(ty = ?self.debug_type(ty), ptr, combined_indices = ?combined_indices.iter().map(|x| (self.debug_type(x.ty), x.kind)).collect::<Vec<_>>(), is_inbounds))]
631631
fn maybe_inbounds_gep(
632632
&mut self,
633633
// Represents the type of the element that `ptr` is assumed to point to

0 commit comments

Comments
 (0)