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);