From fafca4cb11c0580ff10111d3ca44d4569932b125 Mon Sep 17 00:00:00 2001 From: Alan Du Date: Tue, 4 Jun 2019 01:51:25 -0400 Subject: Fix clippy::ptr_arg --- crates/ra_hir/src/expr/validation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir/src') 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> { &mut self, id: ExprId, _path: &Option, - fields: &Vec, + fields: &[StructLitField], spread: &Option, db: &impl HirDatabase, ) { -- cgit v1.2.3