diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-23 05:26:34 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-01-02 12:09:38 -0500 |
| commit | dabd7507b66f5ca62bb6e1ab49a572fbb450d8dd (patch) | |
| tree | 248d3bc2c1ce401b4d8cc470663730ed06278e63 /src/libcore | |
| parent | 19dcecb2258dcbc6f02be9beac105b57fd43472f (diff) | |
| download | rust-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.rs | 3 |
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 { |
