We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab44939 commit 3f65887Copy full SHA for 3f65887
std/mem.zig
@@ -3,6 +3,8 @@ const assert = debug.assert;
3
const math = @import("math/index.zig");
4
const builtin = @import("builtin");
5
6
+error OutOfMemory;
7
+
8
pub const Allocator = struct {
9
/// Allocate byte_count bytes and return them in a slice, with the
10
/// slice's pointer aligned at least to alignment bytes.
0 commit comments