浏览代码

Merge pull request #110 from wrieger93/remove_reduntant_trait

Remove reduntant Num trait from an impl.
Alex Crichton 9 年之前
父节点
当前提交
85b9ac58bf
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/complex.rs

+ 0 - 3
src/complex.rs

@@ -81,9 +81,6 @@ impl<T: Clone + Float> Complex<T> {
     pub fn norm(&self) -> T {
         self.re.clone().hypot(self.im.clone())
     }
-}
-
-impl<T: Clone + Float + Num> Complex<T> {
     /// Calculate the principal Arg of self.
     #[inline]
     pub fn arg(&self) -> T {