diff options
author | Manmeet Maan <[email protected]> | 2021-01-11 06:17:38 +0000 |
---|---|---|
committer | Manmeet Maan <[email protected]> | 2021-01-11 06:17:38 +0000 |
commit | f05c14594a8e6bf56043be699035dc39799c027e (patch) | |
tree | 577235c77494280a64f4d2bbabde3d968055cef5 | |
parent | 430dc5cd248c709049f5ea6d48170ae79d2a329f (diff) |
Fix formatting
-rw-r--r-- | crates/completion/src/completions/postfix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/completions/postfix.rs b/crates/completion/src/completions/postfix.rs index b07e9325a..9c34ed0b6 100644 --- a/crates/completion/src/completions/postfix.rs +++ b/crates/completion/src/completions/postfix.rs | |||
@@ -37,7 +37,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) { | |||
37 | 37 | ||
38 | let ref_removed_ty = | 38 | let ref_removed_ty = |
39 | std::iter::successors(Some(receiver_ty.clone()), |ty| ty.remove_ref()).last().unwrap(); | 39 | std::iter::successors(Some(receiver_ty.clone()), |ty| ty.remove_ref()).last().unwrap(); |
40 | 40 | ||
41 | let cap = match ctx.config.snippet_cap { | 41 | let cap = match ctx.config.snippet_cap { |
42 | Some(it) => it, | 42 | Some(it) => it, |
43 | None => return, | 43 | None => return, |