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