Skip to content

Commit 8da55f8

Browse files
committed
fix the tests
1 parent 475ddcb commit 8da55f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/editions/creating-a-new-project.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
When you create a new project with Cargo, it will automatically add
44
configuration for the latest edition:
55

6-
```rust
6+
```console
77
> cargo +nightly new foo
88
Created binary (application) `foo` project
99
> cat .\foo\Cargo.toml
@@ -22,7 +22,7 @@ No more configuration needed!
2222
If you'd prefer to use an older edition, you can change the value in that
2323
key, for example:
2424

25-
```rust
25+
```toml
2626
[package]
2727
name = "foo"
2828
version = "0.1.0"
@@ -32,4 +32,4 @@ edition = "2015"
3232
[dependencies]
3333
```
3434

35-
This will build your package in Rust 2015.
35+
This will build your package in Rust 2015.

0 commit comments

Comments
 (0)