From 8eb96c32e38d687c2b2f1488105538dda8dd5b0b Mon Sep 17 00:00:00 2001
From: zooster
Date: Mon, 3 Oct 2022 23:05:41 +0200
Subject: [PATCH] docs(langref): fix outdated example
---
doc/langref.html.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
index ef9e8402c1..c089dba94d 100644
--- a/doc/langref.html.in
+++ b/doc/langref.html.in
@@ -10768,7 +10768,7 @@ test "string literal to constant slice" {
{#code_begin|syntax#}
const builtin = @import("builtin");
-const separator = if (builtin.os.tag == builtin.Os.windows) '\\' else '/';
+const separator = if (builtin.os.tag == .windows) '\\' else '/';
{#code_end#}
Example of what is imported with {#syntax#}@import("builtin"){#endsyntax#}: