std: fix a bunch of typos
The majority of these are in comments, some in doc comments which might affect the generated documentation, and a few in parameter names - nothing that should be breaking, however.
This commit is contained in:
committed by
Andrew Kelley
parent
ec6ffaa1e4
commit
94e30a756e
@@ -4,7 +4,7 @@ const math = std.math;
|
||||
const cmath = math.complex;
|
||||
const Complex = cmath.Complex;
|
||||
|
||||
/// Returns the tanget of z.
|
||||
/// Returns the tangent of z.
|
||||
pub fn tan(z: anytype) Complex(@TypeOf(z.re)) {
|
||||
const T = @TypeOf(z.re);
|
||||
const q = Complex(T).init(-z.im, z.re);
|
||||
|
||||
Reference in New Issue
Block a user