forked from google/zerocopy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Box instead of &T in test_impls success cases (google#945)
This allows the callback passed to `with_passing_test_cases` to access its argument mutably. We don't make use of this ability in this commit, but it will become important later when we implement `TryFromBytes` for `UnsafeCell`. Makes progress on #5
- Loading branch information
Showing
1 changed file
with
19 additions
and
20 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