mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
auto clippy fixes
This commit is contained in:
parent
72c85efc83
commit
ef39bad7c6
146 changed files with 750 additions and 1005 deletions
|
@ -90,7 +90,7 @@ fn main() -> io::Result<()> {
|
|||
let dispatcher = DefaultImportDispatcher::new(&wasi_argv);
|
||||
let mut inst =
|
||||
Instance::for_module(&arena, &module, dispatcher, is_debug_mode).unwrap_or_else(|e| {
|
||||
eprintln!("{}", e);
|
||||
eprintln!("{e}");
|
||||
process::exit(2);
|
||||
});
|
||||
|
||||
|
@ -103,14 +103,14 @@ fn main() -> io::Result<()> {
|
|||
match result {
|
||||
Ok(Some(val)) => {
|
||||
if is_hex_format {
|
||||
println!("{:#x?}", val)
|
||||
println!("{val:#x?}")
|
||||
} else {
|
||||
println!("{:?}", val)
|
||||
println!("{val:?}")
|
||||
}
|
||||
}
|
||||
Ok(None) => {}
|
||||
Err(e) => {
|
||||
eprintln!("{}", e);
|
||||
eprintln!("{e}");
|
||||
process::exit(3);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue