authorgravatar for 47984692+luehmann@users.noreply.github.comPhilipp Lühmann <47984692+luehmann@users.noreply.github.com> 2022-03-31 09:18:34+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-04-04 15:44:01+03:00
log795f075790d641499dee283507fc40a2e609e9ce
tree925db1739b121b39b7bdd1191b1385fe6a2f2e88
parentf654e16d06460a5f44fd8089538a41fc1936ea0b

langref: rename incorrect expect to assert


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
......@@ -7833,7 +7833,7 @@ fn readFile(allocator: Allocator, filename: []const u8) ![]u8 {
78337833 for the current target to match the C ABI. When the child type of a pointer has
78347834 this alignment, the alignment can be omitted from the type.
78357835 </p>
7836 <pre>{#syntax#}const expect = @import("std").debug.assert;
7836 <pre>{#syntax#}const assert = @import("std").debug.assert;
78377837comptime {
78387838 assert(*u32 == *align(@alignOf(u32)) u32);
78397839}{#endsyntax#}</pre>