소스 검색

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 {