diff --git a/doc/langref.html.in b/doc/langref.html.in
index b2e408dda774..18a86380481b 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -3584,7 +3584,7 @@ const Type = enum {
not_ok,
};
-// Declare a specific instance of the enum variant.
+// Declare a specific enum field.
const c = Type.ok;
// If you want access to the ordinal value of an enum, you
@@ -3633,13 +3633,13 @@ test "enum method" {
try expect(!p.isClubs());
}
-// An enum variant of different types can be switched upon.
+// An enum can be switched upon.
const Foo = enum {
string,
number,
none,
};
-test "enum variant switch" {
+test "enum switch" {
const p = Foo.number;
const what_is_it = switch (p) {
Foo.string => "this is a string",