Skip to content

Commit 68f6332

Browse files
committedDec 15, 2017
fix missing import from previous commit
·
0.15.10.2.0
1 parent 6bc0561 commit 68f6332

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎std/sort.zig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const std = @import("index.zig");
22
const assert = std.debug.assert;
33
const mem = std.mem;
44
const math = std.math;
5+
const builtin = @import("builtin");
56

67
/// Stable in-place sort. O(n) best case, O(pow(n, 2)) worst case. O(1) memory (no allocator required).
78
pub fn insertionSort(comptime T: type, items: []T, lessThan: fn(lhs: &const T, rhs: &const T)->bool) {

0 commit comments

Comments
 (0)
Please sign in to comment.