From 1c536bb7f1f6a633e122e704ad58a022fc7ee288 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Wed, 11 Mar 2026 00:40:43 -0700 Subject: [PATCH] make percentDecode pub --- url.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/url.zig b/url.zig index e5461aa2a4613bbf5218b5eba1f387265c7dc6bd..44523ebcb57a839027987271c101ab16c94e2d39 100644 --- a/url.zig +++ b/url.zig @@ -1466,7 +1466,7 @@ fn percentEncode(allocator: std.mem.Allocator, input: []const u8, comptime set: } /// https://url.spec.whatwg.org/#string-percent-decode -fn percentDecode(allocator: std.mem.Allocator, input: []const u8) ![]u8 { +pub fn percentDecode(allocator: std.mem.Allocator, input: []const u8) ![]u8 { var result = std.ArrayList(u8).init(allocator); errdefer result.deinit(); try result.ensureUnusedCapacity(input.len); -- 2.54.0