aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__inserts_parens_for_function_calls1.snap
blob: 9a42b6c12990930d5a9a5ceceab1c5aae4a0cf43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
created: "2019-02-18T09:10:52.160884429Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "main",
        source_range: [53; 56),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [53; 56),
                    insert: "main()$0"
                }
            ]
        },
        kind: Function,
        detail: "fn main()"
    },
    CompletionItem {
        label: "no_args",
        source_range: [53; 56),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [53; 56),
                    insert: "no_args()$0"
                }
            ]
        },
        kind: Function,
        detail: "fn no_args()"
    }
]