1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:22:18 +02:00
tldr/pages.ta/common/rustfmt.md
K.B.Dharun Krishna 10bccbd1e4
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>
2023-01-04 12:27:33 +08:00

1.1 KiB

rustfmt

ரஸ்ட் மூலக் குறியீட்டை வடிவமைப்பதற்கான கருவி. மேலும் விவரத்திற்கு: https://github.com/rust-lang/rustfmt.

  • ஒரு கோப்பை வடிவமைக்கவும், அசல் கோப்பை மேலெழுதவும்:

rustfmt {{பாதை/டு/மூலம்.rs}}

  • வடிவமைப்பிற்கான கோப்பைச் சரிபார்த்து, கன்சோலில் ஏதேனும் மாற்றங்களைக் காட்டவும்:

rustfmt --check {{பாதை/டு/மூலம்.rs}}

  • வடிவமைப்பிற்கு முன் ஏதேனும் மாற்றப்பட்ட கோப்புகளை காப்புப் பிரதி எடுக்கவும் (அசல் கோப்பு .bk நீட்டிப்புடன் மறுபெயரிடப்பட்டது):

rustfmt --backup {{பாதை/டு/மூலம்.rs}}