Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Graysons suggestions #141

Merged
merged 7 commits into from
Apr 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: change [].to_vec to Vec::new
  • Loading branch information
ocornoc committed Apr 11, 2022
commit 46ea2f7a21bedbe8085a40339d3684a999f24b55
2 changes: 1 addition & 1 deletion src/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn create_project_references(children: &[String]) -> TypescriptParentProjectRefe
let mut sorted_children = children.to_owned();
sorted_children.sort_unstable();
TypescriptParentProjectReference {
files: [].to_vec(),
files: Vec::new(),
references: sorted_children
.iter()
.map(|child| TypescriptProjectReference {
Expand Down