Skip to content

Commit 07a6cc5

Browse files
committed
Fix comments
1 parent b677050 commit 07a6cc5

File tree

1 file changed

+2
-2
lines changed
  • rustfmt-core/rustfmt-lib/src

1 file changed

+2
-2
lines changed

rustfmt-core/rustfmt-lib/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ pub struct OperationSetting {
4040
pub verbosity: Verbosity,
4141
}
4242

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.
43+
/// Formats the given input according to the given config and setting.
4544
pub fn format(
4645
input: Input,
4746
config: &Config,
@@ -50,6 +49,7 @@ pub fn format(
5049
format_input_inner(input, config, operation_setting)
5150
}
5251

52+
/// Formats the given input according to the given config and setting.
5353
pub fn format_inputs<'a>(
5454
inputs: impl Iterator<Item = (Input, &'a Config)>,
5555
operation_setting: OperationSetting,

0 commit comments

Comments
 (0)