From 95e5fac412ff355d9a6dc281e6f39b9c0e940c18 Mon Sep 17 00:00:00 2001 From: Adam C Date: Sun, 18 Jul 2021 17:53:06 -0400 Subject: [PATCH] FIX typo in doc comment for std.math.hypot (#9413) --- lib/std/math/hypot.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/math/hypot.zig b/lib/std/math/hypot.zig index 61f172aa6a..4c2c6f1d8a 100644 --- a/lib/std/math/hypot.zig +++ b/lib/std/math/hypot.zig @@ -14,7 +14,7 @@ const math = std.math; const expect = std.testing.expect; const maxInt = std.math.maxInt; -/// Returns sqrt(x * x + y * y), avoiding unncessary overflow and underflow. +/// Returns sqrt(x * x + y * y), avoiding unnecessary overflow and underflow. /// /// Special Cases: /// - hypot(+-inf, y) = +inf