formatting
This commit is contained in:
parent
e299fd5475
commit
b04c4e76df
1 changed files with 2 additions and 2 deletions
|
|
@ -89,11 +89,11 @@ pub(crate) fn add_turbo_fish(acc: &mut Assists, ctx: &AssistContext) -> Option<(
|
|||
Some(cap) => {
|
||||
let snip = format!("::<${{0:{}}}>", fish_head);
|
||||
builder.insert_snippet(cap, ident.text_range().end(), snip)
|
||||
},
|
||||
}
|
||||
None => {
|
||||
let snip = format!("::<{}>", fish_head);
|
||||
builder.insert(ident.text_range().end(), snip);
|
||||
},
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue