Skip to content

Instantly share code, notes, and snippets.

@u2
Created December 20, 2018 09:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save u2/a53083d5cf550b6a6d97c4c82b0c636f to your computer and use it in GitHub Desktop.
Save u2/a53083d5cf550b6a6d97c4c82b0c636f to your computer and use it in GitHub Desktop.
merge
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