Skip to content

Instantly share code, notes, and snippets.

@ALSchwalm
Created March 6, 2017 04:16
Show Gist options
  • Save ALSchwalm/b86e7753e26b57776bb00ef46aac6784 to your computer and use it in GitHub Desktop.
Save ALSchwalm/b86e7753e26b57776bb00ef46aac6784 to your computer and use it in GitHub Desktop.
trait CloneMammal: Clone + Mammal{}
impl<T> CloneMammal for T where T: Clone + Mammal{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment