-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
treewide: fix clippy complaints about useless use of vec!
Clippy started to suggest using arrays instead of `vec!` where applicable, i.e. if the vector would be converted to an iterator anyway, then we can get rid of an allocation by replacing it with an array. This is only an issue with a small number of tests and it's easy to fix, so this commit just applies clippy's suggestions.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters