aboutsummaryrefslogtreecommitdiff
path: root/lib/std/math/complex
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2023-04-30 18:02:08 +0100
committerAndrew Kelley <andrew@ziglang.org>2023-04-30 18:16:04 -0700
commit94e30a756edc4c2182168dabd97d481b8aec0ff2 (patch)
tree50d4273d99ddd7a442d62b615cf9dc6128e71fef /lib/std/math/complex
parentec6ffaa1e47388a59035277dafbe3d9999a80fca (diff)
downloadzig-94e30a756edc4c2182168dabd97d481b8aec0ff2.tar.gz
zig-94e30a756edc4c2182168dabd97d481b8aec0ff2.zip
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.
Diffstat (limited to 'lib/std/math/complex')
-rw-r--r--lib/std/math/complex/tan.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/math/complex/tan.zig b/lib/std/math/complex/tan.zig
index 9e1025f74f..a0ce5d18e0 100644
--- a/lib/std/math/complex/tan.zig
+++ b/lib/std/math/complex/tan.zig
@@ -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);