Function dupeInner [src]
Prototype
pub fn dupeInner(allocator: std.mem.Allocator, bytes: []const u8) []u8 Parameters
allocator: std.mem.Allocatorbytes: []const u8 Source
pub fn dupeInner(allocator: std.mem.Allocator, bytes: []const u8) []u8 {
return allocator.dupe(u8, bytes) catch @panic("OOM");
}