diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/error.rs | 1 | ||||
-rw-r--r-- | core/module_specifier.rs | 2 |
2 files changed, 2 insertions, 1 deletions
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(), } ), } |