diff options
Diffstat (limited to 'src/libcore/convert.rs')
| -rw-r--r-- | src/libcore/convert.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 62ca8c47ab6..4a99f1a756a 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -95,13 +95,6 @@ impl<'a, T: ?Sized, U: ?Sized> AsMut<U> for &'a mut T where T: AsMut<U> { // } // } -// From itself is always itself -impl<T> From<T> for T { - fn from(t: T) -> T { - t - } -} - // From implies Into #[stable(feature = "rust1", since = "1.0.0")] impl<T, U> Into<U> for T where U: From<T> { |
