Here is the code snippet I’m trying to get to work again after 0.15.1 landed:
var buffer = std.ArrayList(u8).init(allocator);
try buffer.appendSlice(fragment);
It results in this error now:
error: struct 'array_list.Aligned(u8,null)' has no member named 'init'
Where was I supposed to find the migration information? I read the release notes and I see a note on managed vs unamanged, but it is still lost on me how to make this work.
Or to put a different way, what is the current best example of building a string of unknown length?