diff --git a/lib/std/mem/Allocator.zig b/lib/std/mem/Allocator.zig index a76c27f5a0aa9ff9b04f4878a8d08a1f4d2b2e8e..d6ebed2c22cf1f8f6c9e31471faad42ddae9c876 100644 --- a/lib/std/mem/Allocator.zig +++ b/lib/std/mem/Allocator.zig @@ -80,7 +80,7 @@ pub fn noResize( /// as `old_mem` was when `reallocFn` is called. The bytes of /// `return_value[old_mem.len..]` have undefined values. /// The returned slice must have its pointer aligned at least to `new_alignment` bytes. -fn reallocBytes( +pub fn reallocBytes( self: *Allocator, /// Guaranteed to be the same as what was returned from most recent call to /// `allocFn` or `resizeFn`.