Skip to content

Commit fc48a1b

Browse files
Merge pull request #750 from pietroalbini/1.49.0-fix
Use the right versions in the 1.49.0 blog post
2 parents 4aeafa5 + d2e66ba commit fc48a1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

posts/2020-12-31-Rust-1.49.0.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ fn thready_pass() {
9393
Here's what running this test looks like before Rust 1.49.0:
9494

9595
```text
96-
❯ cargo test
96+
❯ cargo +1.48.0 test
9797
Compiling threadtest v0.1.0 (C:\threadtest)
9898
Finished test [unoptimized + debuginfo] target(s) in 0.38s
9999
Running target\debug\deps\threadtest-02f42ffd9836cae5.exe
@@ -118,7 +118,7 @@ if every `println!` worked like that one that prints "`fum`?" Well, [that's
118118
the behavior in Rust 1.49.0](https://github.com/rust-lang/rust/pull/78227):
119119

120120
```text
121-
❯ cargo +nightly test
121+
❯ cargo test
122122
Compiling threadtest v0.1.0 (C:\threadtest)
123123
Finished test [unoptimized + debuginfo] target(s) in 0.52s
124124
Running target\debug\deps\threadtest-40aabfaa345584be.exe
@@ -140,7 +140,7 @@ output. By adding a `panic!` to the end of the test, we can see what failure
140140
looks like:
141141

142142
```text
143-
❯ cargo +nightly test
143+
❯ cargo test
144144
Compiling threadtest v0.1.0 (C:\threadtest)
145145
Finished test [unoptimized + debuginfo] target(s) in 0.52s
146146
Running target\debug\deps\threadtest-40aabfaa345584be.exe

0 commit comments

Comments
 (0)