Commit 52645d06e1

daurnimator <quae@daurnimator.com>
2019-11-09 02:11:12
std: fix unfinished doc-comment in fifo
1 parent eea8b10
Changed files (1)
lib
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);