Closed
Description
In the Getting Started section of the Rust book, there's this snippet under Creating a new Executable and Source Directory:
$ mkdir src
$ mv main.rs src/main.rs
$ rm main # or 'del main.exe' on Windows
On Windows, there's no mv
, just move
. The mv
and other commands are available when one uses Cygwin or similar, but the book says nothing about that, so it should be fixed to include a comment similarly to the line underneath it.
$ mkdir src
$ mv main.rs src/main.rs # or 'move main.rs src/main.rs' on Window
$ rm main # or 'del main.exe' on Windows
Metadata
Metadata
Assignees
Labels
No labels