| author | |
| committer | |
| log | 6109e49c5b0341fba8de9cf49e1a4071a7637273 |
| tree | fa21dae7ba5e28ef9a8644c4a3c2cb88f05a202f |
| parent | 2b1faa1f20ce22c07d7767e8af3bc64614b0ca0e |
Update the `.buf` property to be a slice of the type that is given as a parameter.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fifo.zig+1-1| ... | ... | @@ -12,7 +12,7 @@ const testing = std.testing; |
| 12 | 12 | pub fn FixedSizeFifo(comptime T: type) type { |
| 13 | 13 | return struct { |
| 14 | 14 | allocator: *Allocator, |
| 15 | buf: []u8, | |
| 15 | buf: []T, | |
| 16 | 16 | head: usize, |
| 17 | 17 | count: usize, |
| 18 | 18 |