From f46df3e35940fc78163945eed33e58fafed0b06b Mon Sep 17 00:00:00 2001 From: linbingquan <695601626@qq.com> Date: Sun, 18 Dec 2022 06:20:15 +0800 Subject: chore: update to Rust 1.66.0 (#17078) --- core/module_specifier.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/module_specifier.rs') diff --git a/core/module_specifier.rs b/core/module_specifier.rs index 3f329f53f..4727ff2cb 100644 --- a/core/module_specifier.rs +++ b/core/module_specifier.rs @@ -141,7 +141,7 @@ pub fn resolve_path( let path = current_dir() .map_err(|_| ModuleResolutionError::InvalidPath(path_str.into()))? .join(path_str); - let path = normalize_path(&path); + let path = normalize_path(path); Url::from_file_path(path.clone()) .map_err(|()| ModuleResolutionError::InvalidPath(path)) } -- cgit v1.2.3