-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Implement Default trait for Dispatch (#411)
## Motivation As outlined in #172, we can improve the use of default dispatch by implementing `Default` to create `Dispatch::default`, thus making the default dispatcher easier to use. ## Solution This PR adds an implementation of `Default` trait from the standard library that calls `get_default` and returns a clone of the default dispatcher. Closes #172 Signed-off-by: Adityo Pratomo <[email protected]>
- Loading branch information
1 parent
e0132f8
commit 8720792
Showing
1 changed file
with
45 additions
and
0 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