diff --git a/crates/compiler/gen_llvm/src/llvm/build.rs b/crates/compiler/gen_llvm/src/llvm/build.rs index aab758c5f4d..9fffb3b152c 100644 --- a/crates/compiler/gen_llvm/src/llvm/build.rs +++ b/crates/compiler/gen_llvm/src/llvm/build.rs @@ -1886,10 +1886,9 @@ fn build_tag<'a, 'ctx>( &[fields], ); - let struct_type = env.context.struct_type( - env.arena.alloc_slice_fill_iter(field_types), - false, - ); + let struct_type = env + .context + .struct_type(env.arena.alloc_slice_fill_iter(field_types), false); struct_pointer_from_fields( env, diff --git a/crates/compiler/load_internal/src/work.rs b/crates/compiler/load_internal/src/work.rs index 0db9e1b92a9..6524a3abfa8 100644 --- a/crates/compiler/load_internal/src/work.rs +++ b/crates/compiler/load_internal/src/work.rs @@ -331,10 +331,7 @@ impl<'a> Dependencies<'a> { None | Some(Status::NotStarted) | Some(Status::Pending) => { // this shorthand is not resolved, add a dependency { - let entry = self - .waiting_for - .entry(next_step.clone()) - .or_default(); + let entry = self.waiting_for.entry(next_step.clone()).or_default(); entry.insert(job.clone()); } diff --git a/crates/compiler/types/src/subs.rs b/crates/compiler/types/src/subs.rs index 9c780974fdd..8a62e636501 100644 --- a/crates/compiler/types/src/subs.rs +++ b/crates/compiler/types/src/subs.rs @@ -3323,10 +3323,7 @@ impl RecordFields { let range2 = helper(self.variables_start); let range3 = helper(self.field_types_start); - let it = range1 - .into_iter() - .zip(range2) - .zip(range3); + let it = range1.into_iter().zip(range2).zip(range3); it.map(|((i1, i2), i3)| (SubsIndex::new(i1), SubsIndex::new(i2), SubsIndex::new(i3))) }