aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/complete_path.rs
diff options
context:
space:
mode:
authorJeremy A. Kolb <[email protected]>2019-01-23 23:50:46 +0000
committerJeremy A. Kolb <[email protected]>2019-01-23 23:50:46 +0000
commit30f0736e646fe7cf4e133c78f0417e5bd844c525 (patch)
treefdd2eea14e156a2c71f539974d114c93cd85dc19 /crates/ra_ide_api/src/completion/complete_path.rs
parent7b548de63405a07c1a4aa6aedb3e1993fe6b1e6c (diff)
Fix snap
Diffstat (limited to 'crates/ra_ide_api/src/completion/complete_path.rs')
-rw-r--r--crates/ra_ide_api/src/completion/complete_path.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/completion/complete_path.rs b/crates/ra_ide_api/src/completion/complete_path.rs
index aeb226847..e44b76c4a 100644
--- a/crates/ra_ide_api/src/completion/complete_path.rs
+++ b/crates/ra_ide_api/src/completion/complete_path.rs
@@ -119,7 +119,13 @@ mod tests {
119 "reference_completion", 119 "reference_completion",
120 " 120 "
121 //- /lib.rs 121 //- /lib.rs
122 enum E { Foo, Bar(i32) } 122 /// An enum
123 enum E {
124 /// Foo Variant
125 Foo,
126 /// Bar Variant with i32
127 Bar(i32)
128 }
123 fn foo() { let _ = E::<|> } 129 fn foo() { let _ = E::<|> }
124 ", 130 ",
125 ); 131 );