TLDR
Enter a command. For example: ocrmypdf, pdf parser, docker machine.

rustfmt

 
Tool for formatting Rust source code. More information: https://github.com/rust-lang/rustfmt.
 
  • Format a file, overwriting the original file in-place:
     
    rustfmt {{source.rs}}
     
  • Check a file for formatting and display any changes on the console:
     
    rustfmt --check {{source.rs}}
     
  • Backup any modified files before formatting (the original file is renamed with a .bk extension):
     
    rustfmt --backup {{source.rs}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.