diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /cli/proc_state.rs | |
parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r-- | cli/proc_state.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs index eca4579c8..2612af75b 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -559,7 +559,7 @@ impl ProcState { permissions, )) .with_context(|| { - format!("Could not resolve '{}' from '{}'.", specifier, referrer) + format!("Could not resolve '{specifier}' from '{referrer}'.") }); } @@ -581,7 +581,7 @@ impl ProcState { { return Err(custom_error( "NotSupported", - format!("importing npm specifiers in remote modules requires the --unstable flag (referrer: {})", found_referrer), + format!("importing npm specifiers in remote modules requires the --unstable flag (referrer: {found_referrer})"), )); } @@ -592,7 +592,7 @@ impl ProcState { &self.npm_resolver, permissions, )) - .with_context(|| format!("Could not resolve '{}'.", reference)); + .with_context(|| format!("Could not resolve '{reference}'.")); } else { return Ok(specifier.clone()); } @@ -639,7 +639,7 @@ impl ProcState { &self.npm_resolver, permissions, )) - .with_context(|| format!("Could not resolve '{}'.", reference)); + .with_context(|| format!("Could not resolve '{reference}'.")); } } } |