diff options
Diffstat (limited to 'src/dox.rs')
-rw-r--r-- | src/dox.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dox.rs b/src/dox.rs index 1c93efe708..d3f9ccc3ce 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; } |