mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
fix(compat): Changes an instance of collect::<Vec<_>>().join("") to collect::<String>() (#14082)
This commit is contained in:
parent
49be140d2b
commit
d43441f8e6
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ fn node_resolve(
|
|||
|
||||
if protocol == "node" {
|
||||
let split_specifier = url.as_str().split(':');
|
||||
let specifier = split_specifier.skip(1).collect::<Vec<_>>().join("");
|
||||
let specifier = split_specifier.skip(1).collect::<String>();
|
||||
if let Some(resolved) =
|
||||
crate::compat::try_resolve_builtin_module(&specifier)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue