Copying the commmands from doc won't run directly on the system because of $
- [yes] I have checked the latest
mainbranch to see if this has already been fixed - [no] I have searched existing issues and pull requests for duplicates
URL to the section(s) of the book with this problem:
Description of the problem: when using the copy action to the right of rust commands in the doc. They won't run directly on the system because of $.
Suggested fix: Either remove the $ from rust commands or modify the copy action to exclude it from copying.
I don't know how easy option 2 is but I think leaving the $ in helps establish where the command should be run although it was usually stated near the example but as a quick reference it makes it easier to identify where the command should be put.
Please search existing issues before filing new issues https://github.com/rust-lang/book/search?q=dollar+sign+is%3Aissue&type=issues