summaryrefslogtreecommitdiff
path: root/src/dox.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dox.rs')
-rw-r--r--src/dox.rs4
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;
}