Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Dec 20, 2024
1 parent 524147f commit caff3ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl CodeGenerateable for ImportMetaBinding {
)
},
|path| {
let formatted = encode_path(&path.trim_start_matches("./")).to_string();
let formatted = encode_path(path.trim_start_matches("./")).to_string();
quote!(
"`file://${__turbopack_resolve_absolute_path__($formatted)}`" as Expr,
formatted: Expr = formatted.into()
Expand Down

0 comments on commit caff3ee

Please sign in to comment.