From 5962dd29c92188121921e4fa6d88611d77c04e8d Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Fri, 15 Jan 2016 13:29:34 -0500 Subject: [PATCH] remove stale #[deriving(Zero)] docs Fixes #156. --- src/traits.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/traits.rs b/src/traits.rs index 3cf0268..3397018 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -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); /// 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 { /// Returns the additive identity element of `Self`, `0`. ///