We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fdd5e6 + 1f357b9 commit 8322b94Copy full SHA for 8322b94
snippets/rust.json
@@ -32,24 +32,24 @@
32
"println": {
33
"prefix": "println",
34
"body": [
35
- "println!(\"${1:{\\}}\", $0)"
+ "println!(\"${1:{\\}}\", $2)$0"
36
],
37
"description": "Insert println!"
38
},
39
"assert": {
40
- "prefix": "assert",
41
- "body": [
42
- "assert!($1)$0"
43
- ],
44
- "description": "Insert assert!"
45
- },
46
- "assert_eq": {
47
- "prefix": "assert_eq",
48
49
- "assert_eq!($1, $2)$0"
50
51
- "description": "Insert assert_eq!"
52
+ "prefix": "assert",
+ "body": [
+ "assert!($1)$0"
+ ],
+ "description": "Insert assert!"
+ },
+ "assert_eq": {
+ "prefix": "assert_eq",
+ "assert_eq!($1, $2)$0"
+ "description": "Insert assert_eq!"
53
"macro_rules": {
54
"prefix": "macro_rules",
55
0 commit comments