From 68f63323437e1b974be7a9982f5d70b95624878b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 14 Dec 2017 21:24:00 -0500 Subject: [PATCH] fix missing import from previous commit --- std/sort.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/std/sort.zig b/std/sort.zig index 4327cdd04..ec6f94bd8 100644 --- a/std/sort.zig +++ b/std/sort.zig @@ -2,6 +2,7 @@ const std = @import("index.zig"); const assert = std.debug.assert; const mem = std.mem; const math = std.math; +const builtin = @import("builtin"); /// Stable in-place sort. O(n) best case, O(pow(n, 2)) worst case. O(1) memory (no allocator required). pub fn insertionSort(comptime T: type, items: []T, lessThan: fn(lhs: &const T, rhs: &const T)->bool) {