Skip to content

Commit

Permalink
remove generic
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jan 20, 2025
1 parent 2826669 commit e6cb997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ pub fn resolve_url_or_path(
/// ModuleSpecifier. A relative path is considered relative to the passed
/// `current_dir`.
pub fn resolve_path(
path_str: impl AsRef<Path>,
path_str: &str,
current_dir: &Path,
) -> Result<Url, PathToUrlError> {
let path = current_dir.join(path_str);
Expand Down

0 comments on commit e6cb997

Please sign in to comment.