Skip to content

Commit

Permalink
formatting fix in shims/unix/fs.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
noahmbright committed Oct 18, 2024
1 parent 99e3391 commit a8311c3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/shims/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,11 @@ trait EvalContextExtPrivate<'tcx>: crate::MiriInterpCxExt<'tcx> {
Err(e) =>
match e.raw_os_error() {
Some(error) => Ok(error),
None => {
None =>
throw_unsup_format!(
"the error {} couldn't be converted to a return value",
e
)
}
),
},
}
}
Expand Down

0 comments on commit a8311c3

Please sign in to comment.