aboutsummaryrefslogtreecommitdiff
path: root/lib/std/progress.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-03-11 18:54:52 -0400
committerGitHub <noreply@github.com>2020-03-11 18:54:52 -0400
commit895f67cc6dfe3ade4b635c4c2168843b022edee7 (patch)
tree78f817084e76780c1b3eaab961657b168736e4d3 /lib/std/progress.zig
parent571f3ed161455074be5f296b39b24cba554da8e0 (diff)
parent06d2f53ece7328e6beedd5c846a5b25798ba74e3 (diff)
downloadzig-895f67cc6dfe3ade4b635c4c2168843b022edee7.tar.gz
zig-895f67cc6dfe3ade4b635c4c2168843b022edee7.zip
Merge pull request #4710 from ziglang/io-stream-iface
rework I/O stream abstractions
Diffstat (limited to 'lib/std/progress.zig')
-rw-r--r--lib/std/progress.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/progress.zig b/lib/std/progress.zig
index 1c5ecd261a..0264d99c91 100644
--- a/lib/std/progress.zig
+++ b/lib/std/progress.zig
@@ -177,7 +177,7 @@ pub const Progress = struct {
pub fn log(self: *Progress, comptime format: []const u8, args: var) void {
const file = self.terminal orelse return;
self.refresh();
- file.outStream().stream.print(format, args) catch {
+ file.outStream().print(format, args) catch {
self.terminal = null;
return;
};