Remove reduntant Num trait from an impl.

This commit is contained in:
William Rieger 2015-09-04 17:48:31 -04:00
parent 1e07193480
commit ff6a40cc88
1 changed files with 0 additions and 3 deletions

View File

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