| ... | @@ -15,7 +15,7 @@ const range = @import("range").range; | ... | @@ -15,7 +15,7 @@ const range = @import("range").range; |
| 15 | // ); | 15 | // ); |
| 16 | // } | 16 | // } |
| 17 | | 17 | |
| 18 | pub fn leven(comptime T: type, alloc: *std.mem.Allocator, a: []const T, b: []const T, max: ?usize) !usize { | 18 | pub fn leven(comptime T: type, alloc: std.mem.Allocator, a: []const T, b: []const T, max: ?usize) !usize { |
| 19 | if (std.mem.eql(T, a, b)) return 0; | 19 | if (std.mem.eql(T, a, b)) return 0; |
| 20 | | 20 | |
| 21 | var left = a; | 21 | var left = a; |