Fix FixedSizeFifo buffer type
Update the `.buf` property to be a slice of the type that is given as a parameter.
This commit is contained in:
parent
2b1faa1f20
commit
6109e49c5b
@ -12,7 +12,7 @@ const testing = std.testing;
|
||||
pub fn FixedSizeFifo(comptime T: type) type {
|
||||
return struct {
|
||||
allocator: *Allocator,
|
||||
buf: []u8,
|
||||
buf: []T,
|
||||
head: usize,
|
||||
count: usize,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user