mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
refactor(ast_tools): remove temporary vec (#6923)
This commit is contained in:
parent
142da1d2ff
commit
73ab6fb13c
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ impl RawOutput {
|
|||
|
||||
/// Get path for an output.
|
||||
pub fn output_path(krate: &str, path: &str) -> PathBuf {
|
||||
std::path::PathBuf::from_iter(vec![krate, "src", "generated", path])
|
||||
std::path::PathBuf::from_iter([krate, "src", "generated", path])
|
||||
}
|
||||
|
||||
/// Write data to file.
|
||||
|
|
|
|||
Loading…
Reference in a new issue