mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 20:02:09 +02:00

* 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>
16 lines
1.1 KiB
Markdown
16 lines
1.1 KiB
Markdown
# rustfmt
|
|
|
|
> ரஸ்ட் மூலக் குறியீட்டை வடிவமைப்பதற்கான கருவி.
|
|
> மேலும் விவரத்திற்கு: <https://github.com/rust-lang/rustfmt>.
|
|
|
|
- ஒரு கோப்பை வடிவமைக்கவும், அசல் கோப்பை மேலெழுதவும்:
|
|
|
|
`rustfmt {{பாதை/டு/மூலம்.rs}}`
|
|
|
|
- வடிவமைப்பிற்கான கோப்பைச் சரிபார்த்து, கன்சோலில் ஏதேனும் மாற்றங்களைக் காட்டவும்:
|
|
|
|
`rustfmt --check {{பாதை/டு/மூலம்.rs}}`
|
|
|
|
- வடிவமைப்பிற்கு முன் ஏதேனும் மாற்றப்பட்ட கோப்புகளை காப்புப் பிரதி எடுக்கவும் (அசல் கோப்பு `.bk` நீட்டிப்புடன் மறுபெயரிடப்பட்டது):
|
|
|
|
`rustfmt --backup {{பாதை/டு/மூலம்.rs}}`
|