From c8b1d4b4980301b1952d2701066de1cd8f1989f5 Mon Sep 17 00:00:00 2001 From: Mark Hintz Date: Wed, 27 Apr 2016 17:10:57 +0200 Subject: [PATCH] Minor documentation fix - cotangent and secant were swapped --- src/structure.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structure.rs b/src/structure.rs index c1130de..0e77d1a 100644 --- a/src/structure.rs +++ b/src/structure.rs @@ -672,7 +672,7 @@ pub trait Angle where 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`. /// @@ -688,7 +688,7 @@ pub trait Angle where 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`. ///