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 22da02c8af3a26654175f502a41779399af9c010..7cf3f9e9060d28c90f0088abeb6a5a01d86d2f7d 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); -- 2.54.0