Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Callback to be an enum to support Fn and FnOnce. (#1125)
* Convert Callback to be an enum to support Fn and FnOnce. * Run cargo fmt * Update macro_test stderr * Use type alias to simplify CallbackOnce * Add Callback::callback_once * Add Scope::callback_once * Run cargo fmt * Rename to Callback::once
- Loading branch information
1 parent
3b669fa
commit d799368
Showing
3 changed files
with
68 additions
and
15 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
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