make clippy happy

This commit is contained in:
Sébastien Besnier 2020-11-04 17:52:52 +01:00
parent 1c5f381c09
commit 420e1c84e0

View file

@ -61,8 +61,8 @@ pub fn desugar_def<'a>(arena: &'a Bump, def: &'a Def<'a>) -> Def<'a> {
body_pattern, body_pattern,
body_expr, body_expr,
}) => AnnotatedBody { }) => AnnotatedBody {
ann_pattern: ann_pattern, ann_pattern,
ann_type: ann_type, ann_type,
comment: *comment, comment: *comment,
body_pattern: *body_pattern, body_pattern: *body_pattern,
body_expr: desugar_expr(arena, body_expr), body_expr: desugar_expr(arena, body_expr),