Merge pull request #1 from rust-lang/master

Update fork.
This commit is contained in:
William Rieger 2015-09-04 18:36:57 -04:00
commit fde6c479a6
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 {