Skip to content

Commit 91fa3f5

Browse files
LegNeatoFirestar99
authored andcommitted
Rustfmt codegen_cx panic-entry matcher formatting
1 parent 00f2a51 commit 91fa3f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/rustc_codegen_spirv/src/codegen_cx

crates/rustc_codegen_spirv/src/codegen_cx/declare.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,8 @@ impl<'tcx> CodegenCx<'tcx> {
233233
if is_nonlocal_core && demangled_symbol_name.ends_with("::precondition_check") {
234234
self.panic_entry_points.borrow_mut().insert(def_id);
235235
}
236-
let is_spirv_std_byte_addressable_bounds_check =
237-
is_nonlocal && self.tcx.def_path_str(def_id) == "spirv_std::byte_addressable_buffer::bounds_check";
236+
let is_spirv_std_byte_addressable_bounds_check = is_nonlocal
237+
&& self.tcx.def_path_str(def_id) == "spirv_std::byte_addressable_buffer::bounds_check";
238238
if (is_nonlocal_core && demangled_symbol_name.ends_with("::bounds_check"))
239239
|| is_spirv_std_byte_addressable_bounds_check
240240
{

0 commit comments

Comments
 (0)