Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit fe3afb8

Browse files
committed
Remove redundant snippets
These should be and are autocompleted and do not provide better value over standard autocompletions.
1 parent 79410f6 commit fe3afb8

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ You can move to the next 'hole' in the template by pressing 'tab'. We provide
7373
the following snippets:
7474

7575
* `for` - a for loop
76-
* `unimplemented`
77-
* `unreachable`
78-
* `print(ln)`
79-
* `assert(_eq)`
8076
* `macro_rules` - declare a macro
8177
* `if let Option` - an `if let` statement for executing code only in the `Some`
8278
case.

snippets/rust.json

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -15,48 +15,6 @@
1515
],
1616
"description": "Insert for loop"
1717
},
18-
"unimplemented": {
19-
"prefix": "unimplemented",
20-
"body": [
21-
"unimplemented!()"
22-
],
23-
"description": "Insert unimplemented!"
24-
},
25-
"unreachable": {
26-
"prefix": "unreachable",
27-
"body": [
28-
"unreachable!()"
29-
],
30-
"description": "Insert unreachable!"
31-
},
32-
"print": {
33-
"prefix": "print",
34-
"body": [
35-
"print!(\"$1\", $2)$0"
36-
],
37-
"description": "Insert print!"
38-
},
39-
"println": {
40-
"prefix": "println",
41-
"body": [
42-
"println!(\"$1\", $2)$0"
43-
],
44-
"description": "Insert println!"
45-
},
46-
"assert": {
47-
"prefix": "assert",
48-
"body": [
49-
"assert!($1)$0"
50-
],
51-
"description": "Insert assert!"
52-
},
53-
"assert_eq": {
54-
"prefix": "assert_eq",
55-
"body": [
56-
"assert_eq!($1, $2)$0"
57-
],
58-
"description": "Insert assert_eq!"
59-
},
6018
"macro_rules": {
6119
"prefix": "macro_rules",
6220
"body": [

0 commit comments

Comments
 (0)