From b77362bcade55f008bb0b2c90b138a04d9512a47 Mon Sep 17 00:00:00 2001 From: RiskyMH Date: Mon, 1 Dec 2025 17:05:14 +1100 Subject: [PATCH] refactor: use strings.eql instead of std.mem.eql --- src/bun.js/webcore/Blob.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/webcore/Blob.zig b/src/bun.js/webcore/Blob.zig index a08e46f5d9..bf8346c8b4 100644 --- a/src/bun.js/webcore/Blob.zig +++ b/src/bun.js/webcore/Blob.zig @@ -1050,7 +1050,7 @@ pub fn writeFileWithSourceDestination(ctx: *jsc.JSGlobalObject, source_blob: *Bl const dest_pathlike = &destination_store.data.file.pathlike; const src_pathlike = &source_store.data.file.pathlike; if (dest_pathlike.* == .path and src_pathlike.* == .path) { - if (std.mem.eql(u8, dest_pathlike.path.slice(), src_pathlike.path.slice())) { + if (strings.eql(dest_pathlike.path.slice(), src_pathlike.path.slice())) { if (source_blob.size == Blob.max_size) { source_blob.resolveSize(); }