diff --git a/doc/langref.html.in b/doc/langref.html.in index b4eb565969..7bb75673e1 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -258,7 +258,7 @@ pub fn main() !void {

The code sample begins by adding Zig's Standard Library to the build using the {#link|@import#} builtin function. The {#syntax#}@import("std"){#endsyntax#} function call creates a structure to represent the Standard Library. - The code then {#link|declares|Container level Variables#} a + The code then {#link|declares|Container Level Variables#} a {#link|constant identifier|Assignment#}, named std, for easy access to Zig's standard library.

@@ -927,8 +927,8 @@ fn foo() i32 { const expect = std.testing.expect; test "static local variable" { - expect(foo() == 1235); - expect(foo() == 1236); + try expect(foo() == 1235); + try expect(foo() == 1236); } fn foo() i32 { @@ -7570,10 +7570,10 @@ test "main" { declaration must be one of two things:

This builtin can be called from a {#link|comptime#} block to conditionally export symbols.