8000 Fix typo in Rust 1.31 release post · styfle/blog.rust-lang.org@41eca2a · GitHub
[go: up one dir, main page]

Skip to content

Commit 41eca2a

Browse files
authored
Fix typo in Rust 1.31 release post
Fixed typo in the "Cargo features" section. The "extern crate" statement renamed "foo" to "bar", while the following examples renamed it to "baz" instead, which might be confusing.
1 parent 445918c commit 41eca2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2018-12-06-Rust-1.31-and-rust-2018.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ See the [detailed release notes][notes] for more.
442442
Cargo will now download packages in parallel using HTTP/2.
443443

444444
Additionally, now that `extern crate` is not usually required, it would be
445-
jarring to do `extern crate foo as bar;` to rename a crate. As such, you can
445+
jarring to do `extern crate foo as baz;` to rename a crate. As such, you can
446446
do so in your `Cargo.toml`, like this:
447447

448448
```toml

0 commit comments

Comments
 (0)
0