Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions exercises/practice/binary-search/binary_search.zig
Original file line number Diff line number Diff line change
@@ -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");
Expand Down
Loading