diff --git a/src/dox.rs b/src/dox.rs index 1c93efe7086b63ad37d7aa416aef6f634726b04c..d3f9ccc3ce03362cec5f7013106b6eb9085bf8e9 100644 --- a/src/dox.rs +++ b/src/dox.rs @@ -68,13 +68,13 @@ mod imp { } #[lang = "div"] - pub trait Div<RHS> { + pub trait Div<RHS=Self> { type Output; fn div(self, rhs: RHS) -> Self::Output; } #[lang = "shl"] - pub trait Shl<RHS> { + pub trait Shl<RHS=Self> { type Output; fn shl(self, rhs: RHS) -> Self::Output; }