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#}: