aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorAlan Du <[email protected]>2019-06-04 06:51:25 +0100
committerAlan Du <[email protected]>2019-06-04 23:05:07 +0100
commitfafca4cb11c0580ff10111d3ca44d4569932b125 (patch)
tree47a2a430262eb839222e98a1decd6ead7630e394 /crates/ra_hir/src
parent4e449fb0b0d5fca99d0aaf481539fa9ec662a8c2 (diff)
Fix clippy::ptr_arg
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/expr/validation.rs2
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 ) {