Hi,
Thanks for this library, it's exactly what I have been looking for.
Since in zig, most functions/structs etc that can allocate usually take in an allocator as the first parameter,
wouldn't it make more sense then for the string struct to take an aloocator in it's init method?
https://github.com/clownpriest/strings/blob/9e55cbc8b33ddd42ebf945ae4f3f1ed097a7d758/src/strings.zig#L17
Hi,
Thanks for this library, it's exactly what I have been looking for.
Since in zig, most functions/structs etc that can allocate usually take in an allocator as the first parameter,
wouldn't it make more sense then for the string struct to take an aloocator in it's
initmethod?https://github.com/clownpriest/strings/blob/9e55cbc8b33ddd42ebf945ae4f3f1ed097a7d758/src/strings.zig#L17