Skip to content

Instantly share code, notes, and snippets.

@kriogenia
Created July 28, 2022 11:32
Show Gist options
  • Save kriogenia/60574c9d2d107f12f074e9051bce8421 to your computer and use it in GitHub Desktop.
Save kriogenia/60574c9d2d107f12f074e9051bce8421 to your computer and use it in GitHub Desktop.
Trait Add
pub trait Add<Rhs = Self> {
type Output;
fn add(self, rhs: Rhs) -> Self::Output;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment