Skip to content

Commit e2b7246

Browse files
authored
Merge pull request #4025 from ficcialfaint/cargo-init
Add `cargo init` usage suggestion to 1.3
2 parents 28a2444 + 299fd1f commit e2b7246

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ch01-03-hello-cargo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ everything is in its place.
113113
If you started a project that doesn’t use Cargo, as we did with the “Hello,
114114
world!” project, you can convert it to a project that does use Cargo. Move the
115115
project code into the *src* directory and create an appropriate *Cargo.toml*
116-
file.
116+
file. One easy way to get that *Cargo.toml* file is to run `cargo init`, which
117+
will create it for you automatically.
117118

118119
### Building and Running a Cargo Project
119120

0 commit comments

Comments
 (0)