Minor documentation fix - cotangent and secant were swapped

This commit is contained in:
Mark Hintz 2016-04-27 17:10:57 +02:00
parent f8f10daaae
commit c8b1d4b498

View file

@ -672,7 +672,7 @@ pub trait Angle where
Self::sin(self).recip() Self::sin(self).recip()
} }
/// Compute the secant of the angle. /// Compute the cotangent of the angle.
/// ///
/// This is the same as computing the reciprocal of `Self::tan`. /// This is the same as computing the reciprocal of `Self::tan`.
/// ///
@ -688,7 +688,7 @@ pub trait Angle where
Self::tan(self).recip() Self::tan(self).recip()
} }
/// Compute the cotatangent of the angle. /// Compute the secant of the angle.
/// ///
/// This is the same as computing the reciprocal of `Self::cos`. /// This is the same as computing the reciprocal of `Self::cos`.
/// ///