fn lastIndexOfLinear(comptime T: type, haystack: []const T, needle: []const T) ?usize
[src]
Find the index in a slice of a sub-slice, searching from the end backwards. To start looking at a different index, slice the haystack first. Consider using lastIndexOf
instead of this, which will automatically use a more sophisticated algorithm on larger inputs.