fmt
The rs fmt command formats files or checks whether they are formatted. For detailed usage, see Formatting.
Usage
Pass files, directories, or glob patterns to choose what to format. When no paths are provided, rs fmt formats the current directory.
Examples:
rs format is an alias for rs fmt:
Options
--write,--check, and--list-differentare mutually exclusive.