Skip to content

Commit ae760e6

Browse files
committedJan 1, 2024
Address unused tuple struct fields in rustfmt
1 parent f002221 commit ae760e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/expr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ fn rewrite_unary_op(
19471947
}
19481948

19491949
pub(crate) enum RhsAssignKind<'ast> {
1950-
Expr(&'ast ast::ExprKind, Span),
1950+
Expr(&'ast ast::ExprKind, #[allow(unused_tuple_struct_fields)] Span),
19511951
Bounds,
19521952
Ty,
19531953
}

0 commit comments

Comments
 (0)