diff options
| author | daurnimator <quae@daurnimator.com> | 2019-11-09 12:11:12 +1100 |
|---|---|---|
| committer | daurnimator <quae@daurnimator.com> | 2019-11-25 09:26:32 +1100 |
| commit | 52645d06e1f3e46ac0d1d3a3441e1e8aa669fba9 (patch) | |
| tree | 5ffdb244ecbe06a339e9fec600c8cc2960741667 /lib/std | |
| parent | eea8b10463b944dae5434e748c9a5b67c2287bea (diff) | |
| download | zig-52645d06e1f3e46ac0d1d3a3441e1e8aa669fba9.tar.gz zig-52645d06e1f3e46ac0d1d3a3441e1e8aa669fba9.zip | |
std: fix unfinished doc-comment in fifo
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/fifo.zig | 3 |
1 files changed, 2 insertions, 1 deletions
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); |
