refactoring
This commit is contained in:
parent
0795836b61
commit
ea096f1b5a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ fn dumpInput(in: File, out: File) !void {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn nextLine(reader: FileReader, buffer: []u8) !?[]const u8 {
|
fn nextLine(reader: FileReader, buffer: []u8) !?[]const u8 {
|
||||||
var line = (try reader.readUntilDelimiterOrEof(
|
var line: []u8 = (try reader.readUntilDelimiterOrEof(
|
||||||
buffer,
|
buffer,
|
||||||
'\n',
|
'\n',
|
||||||
)) orelse return null;
|
)) orelse return null;
|
||||||
|
|
Loading…
Reference in a new issue