We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 71267c0 + b539e27 commit 5e9051fCopy full SHA for 5e9051f
src/ch01-03-hello-cargo.md
@@ -58,7 +58,7 @@ repository; you can override this behavior by using `cargo new --vcs=git`.
58
Open *Cargo.toml* in your text editor of choice. It should look similar to the
59
code in Listing 1-2.
60
61
-<span class="filename">Filename: Cargo.toml</span>
+<Listing number="1-2" file-name="Cargo.toml" caption="Contents of *Cargo.toml* generated by `cargo new`">
62
63
```toml
64
[package]
@@ -71,8 +71,7 @@ edition = "2021"
71
[dependencies]
72
```
73
74
-<span class="caption">Listing 1-2: Contents of *Cargo.toml* generated by `cargo
75
-new`</span>
+</Listing>
76
77
This file is in the [*TOML*][toml]<!-- ignore --> (*Tom’s Obvious, Minimal
78
Language*) format, which is Cargo’s configuration format.
0 commit comments