Skip to content

Commit

Permalink
fix clippy?
Browse files Browse the repository at this point in the history
  • Loading branch information
adpaco-aws committed Aug 29, 2023
1 parent c9daf3c commit e008d10
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -703,10 +703,7 @@ fn new_machine_model(sess: &Session) -> MachineModel {
let long_long_int_width = 64;
let short_int_width = 16;
let single_width = 32;
let wchar_t_is_unsigned = match os.as_ref() {
"linux" => true,
_ => false,
};
let wchar_t_is_unsigned = matches!(os.as_ref(), "linux");
let wchar_t_width = 32;

MachineModel {
Expand Down

0 comments on commit e008d10

Please sign in to comment.