diff options
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/expr/validation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/expr/validation.rs b/crates/ra_hir/src/expr/validation.rs index 2816144a7..0248b087d 100644 --- a/crates/ra_hir/src/expr/validation.rs +++ b/crates/ra_hir/src/expr/validation.rs | |||
@@ -44,7 +44,7 @@ impl<'a, 'b> ExprValidator<'a, 'b> { | |||
44 | &mut self, | 44 | &mut self, |
45 | id: ExprId, | 45 | id: ExprId, |
46 | _path: &Option<Path>, | 46 | _path: &Option<Path>, |
47 | fields: &Vec<StructLitField>, | 47 | fields: &[StructLitField], |
48 | spread: &Option<ExprId>, | 48 | spread: &Option<ExprId>, |
49 | db: &impl HirDatabase, | 49 | db: &impl HirDatabase, |
50 | ) { | 50 | ) { |