Skip to content

Commit 2b27ea3

Browse files
committed
Rustfmt
1 parent c278b8f commit 2b27ea3

File tree

1 file changed

+1
-2
lines changed
  • crates/rustc_codegen_spirv/src/codegen_cx

1 file changed

+1
-2
lines changed

crates/rustc_codegen_spirv/src/codegen_cx/type_.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,8 @@ impl<'tcx> BaseTypeMethods<'tcx> for CodegenCx<'tcx> {
171171
SpirvType::Array { .. } | SpirvType::RuntimeArray { .. } => TypeKind::Array,
172172
SpirvType::Pointer { .. } => TypeKind::Pointer,
173173
SpirvType::Function { .. } => TypeKind::Function,
174-
175174
SpirvType::Bool | // thanks llvm
176-
SpirvType::Image { .. } | SpirvType::Sampler | SpirvType::SampledImage { .. }
175+
SpirvType::Image { .. } | SpirvType::Sampler | SpirvType::SampledImage { .. }
177176
=> {
178177
TypeKind::Integer
179178
}

0 commit comments

Comments
 (0)