From acec460ab582fbfeb133f623165d30697c260ee4 Mon Sep 17 00:00:00 2001 From: Yoav Lavi Date: Tue, 22 Mar 2022 23:04:16 +0100 Subject: [PATCH] fix(compat): Changes an instance of collect::>().join("") to collect::() (#14082) --- cli/compat/esm_resolver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/compat/esm_resolver.rs b/cli/compat/esm_resolver.rs index b54d9e51d4..004ea9bfa2 100644 --- a/cli/compat/esm_resolver.rs +++ b/cli/compat/esm_resolver.rs @@ -98,7 +98,7 @@ fn node_resolve( if protocol == "node" { let split_specifier = url.as_str().split(':'); - let specifier = split_specifier.skip(1).collect::>().join(""); + let specifier = split_specifier.skip(1).collect::(); if let Some(resolved) = crate::compat::try_resolve_builtin_module(&specifier) {