diff --git a/doc/langref.html.in b/doc/langref.html.in
index 504a4e02e23c..6b8b07e0b38f 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -1840,7 +1840,7 @@ const Point = struct {
y: i32,
};
-test "compile-time array initalization" {
+test "compile-time array initialization" {
assert(fancy_array[4].x == 4);
assert(fancy_array[4].y == 8);
}