Skip to content

Commit

Permalink
style: remove unneeded semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardosm committed Aug 4, 2024
1 parent 9830337 commit 303acc2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rsjsonnet-lang/src/program/eval/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ fn render_float_def(
trimmed = trimmed.strip_suffix('.').unwrap_or(trimmed);
}
digits_str.truncate(trimmed.len());
};
}

decorate_digits(&digits_str, is_neg, zero_pad, 0, plus, blank)
}
Expand All @@ -1074,7 +1074,7 @@ fn render_float_exp(
if !ensure_pt {
mant_str = mant_str.strip_suffix('.').unwrap_or(mant_str);
}
};
}
let exp_str = &digits_str[(e_pos + 1)..];
let exp_int = exp_str.parse::<i32>().unwrap();
let dot = if prec == 0 && ensure_pt { "." } else { "" };
Expand Down
2 changes: 1 addition & 1 deletion rsjsonnet/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ fn main_inner() -> Result<(), RunError> {
}
} else {
input = Input::File(Path::new(&args.input));
};
}

let mut session = Session::new();

Expand Down

0 comments on commit 303acc2

Please sign in to comment.