style: get rid of unnecessary type coersion
This commit is contained in:
parent
371cf4cc12
commit
d859cee365
|
@ -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, ¶ms, clap.parsers.default)) []const u8 {
|
fn romPath(result: *const clap.Result(clap.Help, ¶ms, clap.parsers.default)) []const u8 {
|
||||||
|
|
Loading…
Reference in New Issue