I have no idea what I am supposed to do
The original exercise: https://codeberg.org/ziglings/exercises/src/tag/v0.16.0/exercises/110_files2.zig
Code snippet that confuses me:
// okay, seems like a threat of violence is not the answer in this case
// https://ziglang.org/documentation/master/std/#std.Io.Reader
// hint: look for a method that reads into a slice
const bytes_read = zig_read_the_file_or_i_will_fight_you(&content);
// Woah, too screamy. I know you're excited for zigling time but tone it down a bit.
// Can you print only what we read from the file?
std.debug.print("Successfully Read {d} bytes: {s}\n", .{
bytes_read,
content, // change this line only
});```
My attempt at a solution:
```zig
var content = [1]u8{'A'} ** 64;
// ...
const bytes_read = reader.readSliceAll(&content);
// how to change the print's args I have no idea
The error: bad format string, readSliceAll returns void