diff --git a/lib/std/fifo.zig b/lib/std/fifo.zig index 0861e19d14..bc88e61d76 100644 --- a/lib/std/fifo.zig +++ b/lib/std/fifo.zig @@ -117,8 +117,6 @@ pub fn LinearFifo( } } - pub const ensureCapacity = @compileError("deprecated; call `ensureUnusedCapacity` or `ensureTotalCapacity`"); - /// Ensure that the buffer can fit at least `size` items pub fn ensureTotalCapacity(self: *Self, size: usize) !void { if (self.buf.len >= size) return;