summaryrefslogtreecommitdiff
path: root/cli/module_loader.rs
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2022-11-17 22:59:10 -0300
committerGitHub <noreply@github.com>2022-11-18 02:59:10 +0100
commit238590aa9fdfe2aac04bb96abad2f2d2feb3101a (patch)
treef8fa04e39baecb5460076c1329ca38ae31f440b6 /cli/module_loader.rs
parent483c10c94b8a5de49cee4c4b9a3ce74726501c8a (diff)
chore: use Rust 1.65.0 (#16688)
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r--cli/module_loader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs
index 893020321..dc367f5e7 100644
--- a/cli/module_loader.rs
+++ b/cli/module_loader.rs
@@ -140,7 +140,7 @@ impl CliModuleLoader {
let file_path = specifier.to_file_path().unwrap();
let code = std::fs::read_to_string(&file_path).with_context(|| {
let mut msg = "Unable to load ".to_string();
- msg.push_str(&*file_path.to_string_lossy());
+ msg.push_str(&file_path.to_string_lossy());
if let Some(referrer) = &maybe_referrer {
msg.push_str(" imported from ");
msg.push_str(referrer.as_str());