Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / playground.rs
Created July 30, 2017 06:57
Rust code shared from the playground
#[derive(Debug, Copy, Clone)]
enum DotError {
LengthMismatch
}
trait Dot<Rhs=Self> {
type Output;
fn dot(&self, other: &Rhs) -> Self::Output;
}