book icon indicating copy to clipboard operation
book copied to clipboard

updated the path

Open postmeback opened this issue 2 years ago • 2 comments

Updated the path

Refer the below screesnhot

Rust-Documentation-Issue

postmeback avatar Jul 06 '23 10:07 postmeback

Requesting for review

postmeback avatar Jul 06 '23 10:07 postmeback

I do not think this change is needed because the instructions in Chapter 1.1 are describing the process for compiling a Rust program from a single .rs file using rustc, not using cargo in a project with the src directory. The instructions say to create the .rs file directly in the hello_world directory and do not mention placing it in a directory called src, so changing this line to include src would make it incorrect.

Also, changes to this repository should be made in the src/ directory, not in the nostarch/ directory. See the top of the file:

<!-- DO NOT EDIT THIS FILE.
This file is periodically generated from the content in the `/src/`
directory, so all fixes need to be made in `/src/`.

Also see CONTRIBUTING.md#Where to Edit

matthewjnield avatar Oct 08 '23 06:10 matthewjnield

Thanks for the PR! As @matthewjnield notes, this is actually not needed (as well as not being in the right spot), so I am going to go ahead and close the PR.

chriskrycho avatar Mar 29 '24 02:03 chriskrycho