mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 23:38:41 +08:00
copy -> move
This commit is contained in:
parent
3437fca04d
commit
d0fb44ec2d
@ -221,7 +221,7 @@ first. This leaves the top-level project directory (in this case,
|
|||||||
to your code. In this way, using Cargo helps you keep your projects nice and
|
to your code. In this way, using Cargo helps you keep your projects nice and
|
||||||
tidy. There's a place for everything, and everything is in its place.
|
tidy. There's a place for everything, and everything is in its place.
|
||||||
|
|
||||||
Now, copy *main.rs* to the *src* directory, and delete the compiled file you
|
Now, move *main.rs* into the *src* directory, and delete the compiled file you
|
||||||
created with `rustc`. As usual, replace `main` with `main.exe` if you're on
|
created with `rustc`. As usual, replace `main` with `main.exe` if you're on
|
||||||
Windows.
|
Windows.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user