Module format

Source
Expand description

Runs rustfmt on the repository.

Structsยง

RustfmtConfig ๐Ÿ”’

Enumsยง

RustfmtStatus ๐Ÿ”’

Functionsยง

format
get_modified_rs_files ๐Ÿ”’
Returns the Rust files modified between the merge-base of HEAD and rust-lang/master and what is now on the disk. Does not include removed files.
get_rustfmt_version ๐Ÿ”’
print_paths ๐Ÿ”’
rustfmt ๐Ÿ”’
update_rustfmt_version ๐Ÿ”’
Updates the last rustfmt version used.
verify_rustfmt_version ๐Ÿ”’
Return whether the format cache can be reused.