summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 591889ccd..60663ebc0 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -791,10 +791,10 @@ mod tests {
let mut worker = create_test_worker();
let result = worker.execute_main_module(&module_specifier).await;
if let Err(err) = result {
- eprintln!("execute_mod err {:?}", err);
+ eprintln!("execute_mod err {err:?}");
}
if let Err(e) = worker.run_event_loop(false).await {
- panic!("Future got unexpected error: {:?}", e);
+ panic!("Future got unexpected error: {e:?}");
}
}
@@ -808,10 +808,10 @@ mod tests {
let mut worker = create_test_worker();
let result = worker.execute_main_module(&module_specifier).await;
if let Err(err) = result {
- eprintln!("execute_mod err {:?}", err);
+ eprintln!("execute_mod err {err:?}");
}
if let Err(e) = worker.run_event_loop(false).await {
- panic!("Future got unexpected error: {:?}", e);
+ panic!("Future got unexpected error: {e:?}");
}
}