From 52645d06e1f3e46ac0d1d3a3441e1e8aa669fba9 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Sat, 9 Nov 2019 12:11:12 +1100 Subject: [PATCH] std: fix unfinished doc-comment in fifo --- lib/std/fifo.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/std/fifo.zig b/lib/std/fifo.zig index 22da02c8af..7cf3f9e906 100644 --- 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);