1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -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 GitHub
parent 49be140d2b
commit d43441f8e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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