diff options
| author | Philipp Lühmann <47984692+luehmann@users.noreply.github.com> | 2022-03-31 09:18:34 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-04-04 15:44:01 +0300 |
| commit | 795f075790d641499dee283507fc40a2e609e9ce (patch) | |
| tree | 925db1739b121b39b7bdd1191b1385fe6a2f2e88 /doc | |
| parent | f654e16d06460a5f44fd8089538a41fc1936ea0b (diff) | |
| download | zig-795f075790d641499dee283507fc40a2e609e9ce.tar.gz zig-795f075790d641499dee283507fc40a2e609e9ce.zip | |
langref: rename incorrect expect to assert
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 578f0297ae..7948c2defc 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -7833,7 +7833,7 @@ fn readFile(allocator: Allocator, filename: []const u8) ![]u8 { for the current target to match the C ABI. When the child type of a pointer has this alignment, the alignment can be omitted from the type. </p> - <pre>{#syntax#}const expect = @import("std").debug.assert; + <pre>{#syntax#}const assert = @import("std").debug.assert; comptime { assert(*u32 == *align(@alignOf(u32)) u32); }{#endsyntax#}</pre> |
