From ad224f53c798e8417a63d98daeaf3cadc199666c Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 15 Jan 2022 01:10:12 -0500 Subject: chore: upgrade to rust 1.58 (#13377) --- core/error.rs | 1 + core/module_specifier.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/error.rs b/core/error.rs index a462d3341..106845f04 100644 --- a/core/error.rs +++ b/core/error.rs @@ -372,6 +372,7 @@ impl ErrWithV8Handle { } } +#[allow(clippy::non_send_fields_in_send_ty)] unsafe impl Send for ErrWithV8Handle {} unsafe impl Sync for ErrWithV8Handle {} diff --git a/core/module_specifier.rs b/core/module_specifier.rs index 581249f9e..d09c4afb5 100644 --- a/core/module_specifier.rs +++ b/core/module_specifier.rs @@ -43,7 +43,7 @@ impl fmt::Display for ModuleResolutionError { specifier, match maybe_referrer { Some(referrer) => format!(" from \"{}\"", referrer), - None => format!(""), + None => String::new(), } ), } -- cgit v1.2.3