rust/*: update path, add Tamil translation (#9637)
* rustup: add page * rustc: add Tamil translation * rustfmt: add Tamil translation * rust/* : update path * rustc: update Tamil translation * Apply suggestions from code review Co-authored-by: Jack Lin <blueskyson1401@gmail.com> Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:

committed by
GitHub

parent
d6699a289f
commit
10bccbd1e4
@@ -6,15 +6,15 @@
|
||||
|
||||
- Compile a single file:
|
||||
|
||||
`rustc {{file.rs}}`
|
||||
`rustc {{path/to/file.rs}}`
|
||||
|
||||
- Compile with high optimization:
|
||||
|
||||
`rustc -O {{file.rs}}`
|
||||
`rustc -O {{path/to/file.rs}}`
|
||||
|
||||
- Compile with debugging information:
|
||||
|
||||
`rustc -g {{file.rs}}`
|
||||
`rustc -g {{path/to/file.rs}}`
|
||||
|
||||
- Compile with architecture-specific optimizations for the current CPU:
|
||||
|
||||
|
@@ -5,12 +5,12 @@
|
||||
|
||||
- Format a file, overwriting the original file in-place:
|
||||
|
||||
`rustfmt {{source.rs}}`
|
||||
`rustfmt {{path/to/source.rs}}`
|
||||
|
||||
- Check a file for formatting and display any changes on the console:
|
||||
|
||||
`rustfmt --check {{source.rs}}`
|
||||
`rustfmt --check {{path/to/source.rs}}`
|
||||
|
||||
- Backup any modified files before formatting (the original file is renamed with a `.bk` extension):
|
||||
|
||||
`rustfmt --backup {{source.rs}}`
|
||||
`rustfmt --backup {{path/to/source.rs}}`
|
||||
|
Reference in New Issue
Block a user