Skip to content

Commit

Permalink
chore: fix unused var in scan example
Browse files Browse the repository at this point in the history
  • Loading branch information
ianprime0509 committed Nov 22, 2023
1 parent aff2f6b commit 58e49da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scan.zig
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub fn main() !void {
const input_file = try std.fs.cwd().openFile(input_path, .{});
defer input_file.close();
var input_buffered_reader = std.io.bufferedReader(input_file.reader());
var input_reader = input_buffered_reader.reader();
const input_reader = input_buffered_reader.reader();
var scanner = xml.Scanner{};
var decoder = xml.encoding.DefaultDecoder{};

Expand Down

0 comments on commit 58e49da

Please sign in to comment.