1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

fix(compat): Changes an instance of collect::<Vec<_>>().join("") to collect::<String>() (#14082)

This commit is contained in:
Yoav Lavi 2022-03-22 23:04:16 +01:00 committed by Kitson Kelly
parent 71de0c92b8
commit acec460ab5

View file

@ -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)
{