book
book copied to clipboard
Typo in "Writing and Running a Rust Program"
Where it says:
On Windows, enter the command .\main.exe instead of ./main:
> rustc main.rs
> .\main.exe
Hello, world!
the .\ is not needed. It works but it is a Unix style and as all know, Windows is not Unix. Nor is the .exe needed
This includes all references to main within Windows, later in the book.