mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
parent
372d56371f
commit
72775adcd0
@ -308,7 +308,7 @@ pub fn resize(self: Allocator, allocation: anytype, new_len: usize) bool {
|
||||
/// In such case, it is more efficient for the caller to perform those
|
||||
/// operations.
|
||||
///
|
||||
/// `allocation` may be an empty slice, in which case a new allocation is made.
|
||||
/// `allocation` may be an empty slice, in which case `null` is always returned.
|
||||
///
|
||||
/// `new_len` may be zero, in which case the allocation is freed.
|
||||
pub fn remap(self: Allocator, allocation: anytype, new_len: usize) t: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user