Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b9f4624

Browse files
committed
fixup minor bugs
1 parent 3d01fc1 commit b9f4624

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/config/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ pub trait CliOptions {
447447
}
448448

449449
/// The edition of the compiler (RFC 2052)
450-
configuration_option_enum!{ Edition:
450+
configuration_option_enum! { Edition:
451451
Edition2015: 2015,
452452
Edition2018: 2018,
453453
}

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ pub fn rewrite_macro_inner(
421421
// anything in between the braces (for now).
422422
let snippet = context.snippet(mac.span);
423423
let macro_raw = snippet.split_at(snippet.find('!')? + 1).1.trim_start();
424-
match trim_left_preserve_layout(macro_raw, &shape.indent, &context.config) {
424+
match trim_left_preserve_layout(macro_raw, shape.indent, &context.config) {
425425
Some(macro_body) => Some(format!("{} {}", macro_name, macro_body)),
426426
None => Some(format!("{} {}", macro_name, macro_raw)),
427427
}

0 commit comments

Comments
 (0)