Skip to content

Commit 279f0c4

Browse files
committed
Change 'text' formatting to 'console' on console code blocks
1 parent db5e8a5 commit 279f0c4

2 files changed

+2
-2
lines changed

src/ch01-02-hello-world.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ entering the `ls` command in your shell. On Linux and macOS, you’ll see two
155155
files. With PowerShell on Windows, you’ll see the same three files that you
156156
would see using CMD.
157157

158-
```text
158+
```console
159159
$ ls
160160
main main.rs
161161
```

src/ch12-06-writing-to-stderr-instead-of-stdout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ instead of standard output using `eprintln!`</span>
6666
After changing `println!` to `eprintln!`, let’s run the program again in the
6767
same way, without any arguments and redirecting standard output with `>`:
6868

69-
```text
69+
```console
7070
$ cargo run > output.txt
7171
Problem parsing arguments: not enough arguments
7272
```

0 commit comments

Comments
 (0)