diff --git a/exercises/practice/binary-search/binary_search.zig b/exercises/practice/binary-search/binary_search.zig index bcecc879..db0344a5 100644 --- a/exercises/practice/binary-search/binary_search.zig +++ b/exercises/practice/binary-search/binary_search.zig @@ -1,6 +1,4 @@ -// Take a look at the tests, you might have to change the function arguments - -pub fn binarySearch(target: usize, items: []const usize) ?usize { +pub fn binarySearch(comptime T: type, target: T, items: []const T) ?usize { _ = target; _ = items; @compileError("please implement the binarySearch function");