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 43b5d58 commit a427a14Copy full SHA for a427a14
rustfmt-core/rustfmt-lib/src/items.rs
@@ -3103,7 +3103,7 @@ impl Rewrite for ast::ForeignItem {
3103
// FIXME: this may be a faulty span from libsyntax.
3104
let span = mk_sp(self.span.lo(), self.span.hi() - BytePos(1));
3105
3106
- let item_str: String = match self.kind {
+ let item_str = match self.kind {
3107
ast::ForeignItemKind::Fn(_, ref fn_sig, ref generics, _) => rewrite_fn_base(
3108
context,
3109
shape.indent,
0 commit comments