Crate rustfmt_nightly[−][src]
Macros
Checks if we’re in a nightly build.
Structs
A set of lines in files.
Reports on any issues that occurred during a run of Rustfmt.
Formats the warnings/errors in a FormatReport.
A builder for FormatReportFormatter.
A single span of changed lines, with 0 or more removed lines and a vector of 0 or more inserted lines.
Set of changed sections of a file.
A range that is inclusive of both ends.
A session is a run of rustfmt across a single or multiple inputs.
Enums
The various errors that can occur during formatting. Note that not all of these can currently be propagated to clients.
Defines the name of an input - either a file or stdin.
Traits
Maps client-supplied options to Rustfmt’s internals, mostly overriding values in a config with values from the command line.
Functions
Loads a config by checking the client-supplied options and if appropriate, the file system (including searching the file system for overrides).