about summary refs log tree commit diff
path: root/src/libcore/ops
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2019-06-15 22:22:06 +0200
committerJonas Schievink <jonasschievink@gmail.com>2019-06-15 22:22:06 +0200
commitba30dcad2fd9576cade397df33d223fb07d89266 (patch)
tree9d0f46440fbd788210953a79d99feb36b0d5f7c7 /src/libcore/ops
parent9f06855064ed06a50c496577b21ca50f92a2e67d (diff)
downloadrust-ba30dcad2fd9576cade397df33d223fb07d89266.tar.gz
rust-ba30dcad2fd9576cade397df33d223fb07d89266.zip
Remove the default type of `Rem::Output`
Diffstat (limited to 'src/libcore/ops')
-rw-r--r--src/libcore/ops/arith.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/ops/arith.rs b/src/libcore/ops/arith.rs
index 8139305f530..3c009d644c6 100644
--- a/src/libcore/ops/arith.rs
+++ b/src/libcore/ops/arith.rs
@@ -508,7 +508,7 @@ div_impl_float! { f32 f64 }
 pub trait Rem<Rhs=Self> {
     /// The resulting type after applying the `%` operator.
     #[stable(feature = "rust1", since = "1.0.0")]
-    type Output = Self;
+    type Output;
 
     /// Performs the `%` operation.
     #[must_use]