Fix formatting

This commit is contained in:
Manmeet Maan 2021-01-11 11:47:38 +05:30
parent 430dc5cd24
commit f05c14594a

View File

@ -37,7 +37,7 @@ pub(crate) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
let ref_removed_ty = let ref_removed_ty =
std::iter::successors(Some(receiver_ty.clone()), |ty| ty.remove_ref()).last().unwrap(); std::iter::successors(Some(receiver_ty.clone()), |ty| ty.remove_ref()).last().unwrap();
let cap = match ctx.config.snippet_cap { let cap = match ctx.config.snippet_cap {
Some(it) => it, Some(it) => it,
None => return, None => return,