about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-12-23 05:26:34 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-02 12:09:38 -0500
commitdabd7507b66f5ca62bb6e1ab49a572fbb450d8dd (patch)
tree248d3bc2c1ce401b4d8cc470663730ed06278e63 /src/libcore
parent19dcecb2258dcbc6f02be9beac105b57fd43472f (diff)
downloadrust-dabd7507b66f5ca62bb6e1ab49a572fbb450d8dd.tar.gz
rust-dabd7507b66f5ca62bb6e1ab49a572fbb450d8dd.zip
Ensure that, for every trait `Foo`, the predicate `Foo : Foo` holds.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/fmt/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcore/fmt/mod.rs b/src/libcore/fmt/mod.rs
index 43f0d72eeba..c0f8eb59fce 100644
--- a/src/libcore/fmt/mod.rs
+++ b/src/libcore/fmt/mod.rs
@@ -605,9 +605,6 @@ impl<'a, Sized? T: Show> Show for &'a T {
 impl<'a, Sized? T: Show> Show for &'a mut T {
     fn fmt(&self, f: &mut Formatter) -> Result { (**self).fmt(f) }
 }
-impl<'a> Show for &'a (Show+'a) {
-    fn fmt(&self, f: &mut Formatter) -> Result { (*self).fmt(f) }
-}
 
 impl Show for bool {
     fn fmt(&self, f: &mut Formatter) -> Result {