Skip to content

Commit

Permalink
Fix missing mem.split type specification
Browse files Browse the repository at this point in the history
  • Loading branch information
benbusby committed Feb 11, 2022
1 parent 807ebf0 commit afaeec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.zig
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test "hex color to percentage" {
var hex_percent = hex_to_percent(hex);
var expected: []const u8 = "1.0000000";

var iter = std.mem.split(hex_percent, " ");
var iter = std.mem.split(u8, hex_percent, " ");
while (iter.next()) |c_val| {
try std.testing.expect(std.mem.eql(u8, expected, c_val));
}
Expand Down

0 comments on commit afaeec0

Please sign in to comment.