-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid
Vec
use in static_new_in_place()
tests
The tests added for `Scratchpad::static_new_in_place()` were failing to compile when disabling the `std` and `unstable` crate features. The `Scratchpad` used doesn't need a large amount of stack space, so we can create it on the stack instead, avoiding the use of `Vec` entirely.
- Loading branch information
Showing
1 changed file
with
40 additions
and
52 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