diff options
author | Aleksey Kladov <[email protected]> | 2020-12-01 11:23:00 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-01 11:28:50 +0000 |
commit | 9d94ffad44f2b250e498f162cd498aed62877c8e (patch) | |
tree | 0a08b79f8fb8f5da53e5d700d827d325cd326178 /crates/hir | |
parent | 02955661a0e8b39fd0b887b245f0e1284ea8f504 (diff) |
Place cursor correctly when completing assoc fns with self
Diffstat (limited to 'crates/hir')
-rw-r--r-- | crates/hir/src/code_model.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir/src/code_model.rs b/crates/hir/src/code_model.rs index ba121104b..4500050f1 100644 --- a/crates/hir/src/code_model.rs +++ b/crates/hir/src/code_model.rs | |||
@@ -806,6 +806,7 @@ impl From<Mutability> for Access { | |||
806 | } | 806 | } |
807 | } | 807 | } |
808 | 808 | ||
809 | #[derive(Debug)] | ||
809 | pub struct Param { | 810 | pub struct Param { |
810 | ty: Type, | 811 | ty: Type, |
811 | } | 812 | } |