remove stale #[deriving(Zero)] docs

Fixes #156.
This commit is contained in:
Alex Burka 2016-01-15 13:29:34 -05:00
parent e65fd4e5b2
commit 5962dd29c9
1 changed files with 0 additions and 6 deletions

View File

@ -206,12 +206,6 @@ int_trait_impl!(Num for usize u8 u16 u32 u64 isize i8 i16 i32 i64);
float_trait_impl!(Num for f32 f64); float_trait_impl!(Num for f32 f64);
/// Defines an additive identity element for `Self`. /// Defines an additive identity element for `Self`.
///
/// # Deriving
///
/// This trait can be automatically be derived using `#[deriving(Zero)]`
/// attribute. If you choose to use this, make sure that the laws outlined in
/// the documentation for `Zero::zero` still hold.
pub trait Zero: Sized + Add<Self, Output = Self> { pub trait Zero: Sized + Add<Self, Output = Self> {
/// Returns the additive identity element of `Self`, `0`. /// Returns the additive identity element of `Self`, `0`.
/// ///