diff --git a/doc/langref.html.in b/doc/langref.html.in index 290ed77e7..1fccd6e35 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1261,6 +1261,22 @@ const ptr = &x; x.* == 1234 +
a || b
const A = error{One};
+const B = error{Two};
+(A || B) == error{One, Two}
+