mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
remove needless borrows
This commit is contained in:
parent
77051679d7
commit
ed128872eb
53 changed files with 87 additions and 87 deletions
|
@ -68,7 +68,7 @@ pub(crate) fn render_union_literal(
|
|||
|
||||
item.set_documentation(ctx.docs(un))
|
||||
.set_deprecated(ctx.is_deprecated(un))
|
||||
.detail(&detail)
|
||||
.detail(detail)
|
||||
.set_relevance(ctx.completion_relevance());
|
||||
|
||||
match ctx.snippet_cap() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue