diff options
| author | 2022-07-22 12:19:30 -0700 | |
|---|---|---|
| committer | 2022-07-22 12:19:30 -0700 | |
| commit | c2d6ceb0f3ef6e37d6dd4a8e11b5db99727f9bf3 (patch) | |
| tree | 4a5da799dacfa34c51c71010010fe076ad8b11cf /src/string_immutable.zig | |
| parent | ddfd2fd4420b92ae29c82b4f42d8dd978aa772a7 (diff) | |
| download | bun-c2d6ceb0f3ef6e37d6dd4a8e11b5db99727f9bf3.tar.gz bun-c2d6ceb0f3ef6e37d6dd4a8e11b5db99727f9bf3.tar.zst bun-c2d6ceb0f3ef6e37d6dd4a8e11b5db99727f9bf3.zip | |
[bun upgrade] Implement `--canary` and `BUN_CANARY=1`
Diffstat (limited to 'src/string_immutable.zig')
| -rw-r--r-- | src/string_immutable.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_immutable.zig b/src/string_immutable.zig index ec3a2ecbe..801eacd51 100644 --- a/src/string_immutable.zig +++ b/src/string_immutable.zig @@ -78,7 +78,7 @@ pub inline fn containsComptime(self: string, comptime str: string) bool { pub const includes = contains; pub inline fn containsAny(in: anytype, target: string) bool { - for (in) |str| if (contains(str, target)) return true; + for (in) |str| if (contains(bun.span(str), target)) return true; return false; } |
