Rollup merge of #21602 - japaric:derive-copy, r=alexcrichton

This commit is contained in:
Manish Goregaokar 2015-01-27 22:24:02 +05:30
commit 51ff9e82ec
99 changed files with 136 additions and 289 deletions

View file

@ -445,10 +445,9 @@ rem_float_impl! { f64, fmod }
/// ```
/// use std::ops::Neg;
///
/// #[derive(Copy)]
/// struct Foo;
///
/// impl Copy for Foo {}
///
/// impl Neg for Foo {
/// type Output = Foo;
///
@ -522,10 +521,9 @@ neg_uint_impl! { u64, i64 }
/// ```
/// use std::ops::Not;
///
/// #[derive(Copy)]
/// struct Foo;
///
/// impl Copy for Foo {}
///
/// impl Not for Foo {
/// type Output = Foo;
///