Commit 4b46af4810

kristopher tate <kt@connectfree.co.jp>
2018-06-20 18:39:48
std.mem.Allocator.construct: remove deprecation warning;
1 parent 71db8df
Changed files (1)
std/mem.zig
@@ -44,7 +44,6 @@ pub const Allocator = struct {
     /// Alias of create
     /// Call destroy with the result
     pub fn construct(self: *Allocator, init: var) Error!*@typeOf(init) {
-      debug.warn("std.mem.Allocator.construct is deprecated;\n");
       return self.create(init);
     }