Skip to content

Commit

Permalink
codegen_cranelift: Fix redundant semicolon warn
Browse files Browse the repository at this point in the history
  • Loading branch information
osa1 committed Jan 16, 2021
1 parent 6c869d3 commit b681631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_codegen_cranelift/src/intrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ pub(crate) fn codegen_intrinsic_call<'tcx>(
}
ty => unreachable!("bswap {}", ty),
}
};
}
let res = CValue::by_val(swap(&mut fx.bcx, arg), fx.layout_of(T));
ret.write_cvalue(fx, res);
};
Expand Down

0 comments on commit b681631

Please sign in to comment.