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.