| ... | ... | @@ -34,7 +34,7 @@ pub fn addSentinel(alloc: std.mem.Allocator, comptime T: type, input: []const T, |
| 34 | 34 | |
| 35 | 35 | const alphabet = "0123456789abcdefghijklmnopqrstuvwxyz"; |
| 36 | 36 | |
| 37 | | pub fn randomSlice(alloc: std.mem.Allocator, rand: *const std.rand.Random, comptime T: type, len: usize) ![]T { |
| 37 | pub fn randomSlice(alloc: std.mem.Allocator, rand: std.rand.Random, comptime T: type, len: usize) ![]T { |
| 38 | 38 | var buf = try alloc.alloc(T, len); |
| 39 | 39 | var i: usize = 0; |
| 40 | 40 | while (i < len) : (i += 1) { |