style: get rid of unnecessary type coersion

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-10-29 00:06:08 -03:00
parent 371cf4cc12
commit d859cee365
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ fn ensureDirectoriesExist(data_path: []const u8) !void {
// (~/.local/share/zba/save for linux, ??? for macOS) // (~/.local/share/zba/save for linux, ??? for macOS)
// Will recursively create directories // Will recursively create directories
try dir.makePath("zba" ++ [_]u8{std.fs.path.sep} ++ "save"); try dir.makePath("zba" ++ std.fs.path.sep_str ++ "save");
} }
fn romPath(result: *const clap.Result(clap.Help, &params, clap.parsers.default)) []const u8 { fn romPath(result: *const clap.Result(clap.Help, &params, clap.parsers.default)) []const u8 {