Skip to content

Commit

Permalink
fix examples/touch.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwalCH committed Sep 23, 2022
1 parent 2b8a488 commit 6d75a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/touch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn main() anyerror!void {
if (args.isPresent("no-create")) {
std.debug.print("I'am not creating it", .{});
} else {
var file = try std.fs.cwd().createFile(file_name);
var file = try std.fs.cwd().createFile(file_name, .{});
defer file.close();
}
}
Expand Down

0 comments on commit 6d75a03

Please sign in to comment.