Skip to content

Commit 883142d

Browse files
TaguarTaguar
authored andcommitted
std.Progress: redundant mutability
1 parent 4424b9a commit 883142d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/Progress.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ fn clearWithHeldLock(p: *Progress, end_ptr: *usize) void {
298298
p.terminal = null;
299299
break :winapi;
300300
}
301-
var cursor_pos = windows.COORD{
301+
const cursor_pos = windows.COORD{
302302
.X = 0,
303303
.Y = info.dwCursorPosition.Y - @as(windows.SHORT, @intCast(p.rows_written)),
304304
};

0 commit comments

Comments
 (0)