summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index c0f9e43d0..c7872988b 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -122,7 +122,7 @@ impl CliModuleLoader {
)?
}
MediaType::TsBuildInfo | MediaType::Wasm | MediaType::SourceMap => {
- panic!("Unexpected media type {} for {}", media_type, found_url)
+ panic!("Unexpected media type {media_type} for {found_url}")
}
};
@@ -136,7 +136,7 @@ impl CliModuleLoader {
})
}
_ => {
- let mut msg = format!("Loading unprepared module: {}", specifier);
+ let mut msg = format!("Loading unprepared module: {specifier}");
if let Some(referrer) = maybe_referrer {
msg = format!("{}, imported from: {}", msg, referrer.as_str());
}