We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b677050 commit 07a6cc5Copy full SHA for 07a6cc5
rustfmt-core/rustfmt-lib/src/lib.rs
@@ -40,8 +40,7 @@ pub struct OperationSetting {
40
pub verbosity: Verbosity,
41
}
42
43
-/// The main entry point for Rustfmt. Formats the given input according to the
44
-/// given config. `out` is only necessary if required by the configuration.
+/// Formats the given input according to the given config and setting.
45
pub fn format(
46
input: Input,
47
config: &Config,
@@ -50,6 +49,7 @@ pub fn format(
50
49
format_input_inner(input, config, operation_setting)
51
52
53
pub fn format_inputs<'a>(
54
inputs: impl Iterator<Item = (Input, &'a Config)>,
55
operation_setting: OperationSetting,
0 commit comments