| author | |
| committer | |
| log | c46e5eb3e1a26a0fb86a1603243497510f723f9b |
| tree | ff3cc1fe3141269175ee212f435cd6fe617f2909 |
| parent | b0ad1c86daa3545cdb1a06f8e256adec577956c3 |
| signature |
Followup to 902df103c6151c257c90de9ba5f29f7f4b9dbea2.
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>1 files changed, 0 insertions(+), 2 deletions(-)
lib/std/fifo.zig-2| ... | ... | @@ -117,8 +117,6 @@ pub fn LinearFifo( |
| 117 | 117 | } |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | pub const ensureCapacity = @compileError("deprecated; call `ensureUnusedCapacity` or `ensureTotalCapacity`"); | |
| 121 | ||
| 122 | 120 | /// Ensure that the buffer can fit at least `size` items |
| 123 | 121 | pub fn ensureTotalCapacity(self: *Self, size: usize) !void { |
| 124 | 122 | if (self.buf.len >= size) return; |