1
Fork 0

Remove identity casts

This commit is contained in:
Nilstrieb 2023-04-09 23:07:45 +02:00
parent 81c320ea77
commit 4b4948c2e3
8 changed files with 11 additions and 11 deletions

View file

@ -242,7 +242,7 @@ pub fn enum_def_to_string(
impl<'a> State<'a> {
pub fn bclose_maybe_open(&mut self, span: rustc_span::Span, close_box: bool) {
self.maybe_print_comment(span.hi());
self.break_offset_if_not_bol(1, -(INDENT_UNIT as isize));
self.break_offset_if_not_bol(1, -INDENT_UNIT);
self.word("}");
if close_box {
self.end(); // close the outer-box