Uh oh!
There was an error while loading. Please reload this page.
Use arrays instead of vectors in tests - #22623
Merged
Merged
Conversation
rust-highfive
commented
Feb 21, 2015
Contributor
(rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Feb 22, 2015
Member
@bors: r+ 2e91dc0 |
Manishearth
commented
Feb 24, 2015
Member
Needs rebase. |
petrochenkov
commented
Feb 24, 2015
ContributorAuthor
Rebased and removed some more |
alexcrichton
commented
Feb 24, 2015
Member
petrochenkov
commented
Feb 24, 2015
ContributorAuthor
It didn't pass local make check, I've fixed the broken test. |
alexcrichton
commented
Feb 24, 2015
Member
Manishearth added a commit
to Manishearth/rust
that referenced
this pull request
Feb 24, 2015
Tests often use `vec![1, 2, 3]` instead of shorter and faster `[1, 2, 3]`. This patch removes a lot of unnecessary `vec!`s. Hopefully, the tests will compile and run a bit faster.
bors
commented
Feb 25, 2015
Collaborator
⌛ Testing commit c11807d with merge 0e5d8b8... |
bors
commented
Feb 25, 2015
Collaborator
💔 Test failed - auto-linux-64-x-android-t |
lnicola pushed a commit
to lnicola/rust
that referenced
this pull request
Jun 23, 2026
Use `std::env::home_dir` instead of home crate
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests often use
vec![1, 2, 3]instead of shorter and faster[1, 2, 3].This patch removes a lot of unnecessary
vec!s. Hopefully, the tests will compile and run a bit faster.