Skip to content

Commit e025ad7

Browse files
committed
std.mem: fix simd.suggestVectorLength merge conflict
Commits 2f8e434 and 6a32d58 had a conflict that was undetected by source control.
1 parent 828d239 commit e025ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/mem.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ fn eqlBytes(a: []const u8, b: []const u8) bool {
665665

666666
// Figure out the fastest way to scan through the input in chunks.
667667
// Uses vectors when supported and falls back to usize/words when not.
668-
const Scan = if (std.simd.suggestVectorSize(u8)) |vec_size|
668+
const Scan = if (std.simd.suggestVectorLength(u8)) |vec_size|
669669
struct {
670670
pub const size = vec_size;
671671
pub const Chunk = @Vector(size, u8);

0 commit comments

Comments
 (0)