commit 52645d06e1f3e46ac0d1d3a3441e1e8aa669fba9 (tree) parent eea8b10463b944dae5434e748c9a5b67c2287bea Author: daurnimator <quae@daurnimator.com> Date: Sat, 9 Nov 2019 12:11:12 +1100 std: fix unfinished doc-comment in fifo Diffstat:
| M | lib/std/fifo.zig | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/std/fifo.zig b/lib/std/fifo.zig @@ -193,7 +193,8 @@ pub fn FixedSizeFifo(comptime T: type) type { self.count += count; } - /// Appends the data in `src` to the fifo. You must + /// Appends the data in `src` to the fifo. + /// You must have ensured there is enough space. pub fn writeAssumeCapacity(self: *Self, src: []const T) void { assert(self.writableLength() >= src.len);