| author | |
| committer | |
| log | a8d8ce9733a6e859fef3372008ae81a0b57027ec |
| tree | 87145a622b4747defd2a534fb244cf41016ffc76 |
| parent | 75a720565bb72e7fab03346df6a35e9a8f380962 |
`OutStream` has been deprecated, so the "Hello, World!" example has been
updated to use `Writer`.1 files changed, 1 insertions(+), 1 deletions(-)
doc/langref.html.in+1-1| ... | @@ -231,7 +231,7 @@ | ... | @@ -231,7 +231,7 @@ |
| 231 | const std = @import("std"); | 231 | const std = @import("std"); |
| 232 | 232 | ||
| 233 | pub fn main() !void { | 233 | pub fn main() !void { |
| 234 | const stdout = std.io.getStdOut().outStream(); | 234 | const stdout = std.io.getStdOut().writer(); |
| 235 | try stdout.print("Hello, {}!\n", .{"world"}); | 235 | try stdout.print("Hello, {}!\n", .{"world"}); |
| 236 | } | 236 | } |
| 237 | {#code_end#} | 237 | {#code_end#} |