Created
December 20, 2018 09:50
-
-
Save u2/a53083d5cf550b6a6d97c4c82b0c636f to your computer and use it in GitHub Desktop.
merge
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
pub trait Merge { | |
type Item: Default; | |
fn merge(&self, left: &Self::Item, right: &Self::Item) -> Self::Item; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment