std: fix unfinished doc-comment in fifo

This commit is contained in:
daurnimator 2019-11-09 12:11:12 +11:00
parent eea8b10463
commit 52645d06e1
No known key found for this signature in database
GPG Key ID: 45B429A8F9D9D22A

View File

@ -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);