std.mem.Allocator.construct: remove deprecation warning;

This commit is contained in:
kristopher tate 2018-06-21 01:39:48 +09:00
parent 71db8df548
commit 4b46af4810

View File

@ -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);
}