commit 4b46af481086ad253d43d149d7ee54f17e6570dc (tree)
parent 71db8df5480f4d849480267574cd5491066e3868
Author: kristopher tate <kt@connectfree.co.jp>
Date: Thu, 21 Jun 2018 01:39:48 +0900
std.mem.Allocator.construct: remove deprecation warning;
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/std/mem.zig b/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);
}