| ... | @@ -44,7 +44,6 @@ pub const Allocator = struct { | ... | @@ -44,7 +44,6 @@ pub const Allocator = struct { |
| 44 | /// Alias of create | 44 | /// Alias of create |
| 45 | /// Call destroy with the result | 45 | /// Call destroy with the result |
| 46 | pub fn construct(self: *Allocator, init: var) Error!*@typeOf(init) { | 46 | pub fn construct(self: *Allocator, init: var) Error!*@typeOf(init) { |
| 47 | debug.warn("std.mem.Allocator.construct is deprecated;\n"); | | |
| 48 | return self.create(init); | 47 | return self.create(init); |
| 49 | } | 48 | } |
| 50 | | 49 | |