From f5840bdcd360ec0bac2501f333e58e25742b1537 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 27 Jan 2023 10:43:16 -0500 Subject: chore: upgrade to Rust 1.67 (#17548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- cli/proc_state.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli/proc_state.rs') 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}'.")); } } } -- cgit v1.2.3