Skip to content

Commit 68698fd

Browse files
authored
Merge pull request #1346 from HoKim98/main
Fix typo on `blog/content/edition-2/posts/04-testing/index.md`
2 parents a16900e + 3bb6671 commit 68698fd

File tree

1 file changed

+1
-1
lines changed
  • blog/content/edition-2/posts/04-testing

1 file changed

+1
-1
lines changed

blog/content/edition-2/posts/04-testing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ When we run `cargo test` now, we see that it now succeeds (if it doesn't, see th
9191

9292
<div class = "warning">
9393

94-
**Note:** There is currently a bug in cargo that leads to "duplicate lang item" errors on `cargo test` in some cases. It occurs when you have set `panic = "abort"` for a profile in your `Cargo.toml`. Try removing it, then `cargo test` should work. Alternatively, if that doesn't work, then add `panic-abort-tests = true` to the `[unstable]` section of your `.config/cargo.toml` file. See the [cargo issue](https://github.com/rust-lang/cargo/issues/7359) for more information on this.
94+
**Note:** There is currently a bug in cargo that leads to "duplicate lang item" errors on `cargo test` in some cases. It occurs when you have set `panic = "abort"` for a profile in your `Cargo.toml`. Try removing it, then `cargo test` should work. Alternatively, if that doesn't work, then add `panic-abort-tests = true` to the `[unstable]` section of your `.cargo/config.toml` file. See the [cargo issue](https://github.com/rust-lang/cargo/issues/7359) for more information on this.
9595

9696
</div>
9797

0 commit comments

Comments
 (0)