fix: remove some trivial rust snippets

This commit is contained in:
Nicholas O'Kelley 2024-03-31 15:30:21 -04:00
parent ea068f1bec
commit bde92b84e2

View file

@ -184,21 +184,6 @@
"body": ["writeln!(${1}, \"${2}\")"],
"description": "writeln!(…, …)"
},
"Err": {
"prefix": "Err",
"body": ["Err(${1})"],
"description": "Err(…)"
},
"Ok": {
"prefix": "Ok",
"body": ["Ok(${1:result})"],
"description": "Ok(…)"
},
"Some": {
"prefix": "Some",
"body": ["Some(${1})"],
"description": "Some(…)"
},
"assert": {
"prefix": "assert",
"body": ["assert!(${1});"],
@ -229,11 +214,6 @@
"body": ["#[derive(${1})]"],
"description": "#[derive(…)]"
},
"else": {
"prefix": "else",
"body": ["else {", " ${1:todo!();}", "}"],
"description": "else { … }"
},
"enum": {
"prefix": "enum",
"body": [
@ -314,11 +294,6 @@
],
"description": "impl … for … { … }"
},
"impl": {
"prefix": "impl",
"body": ["impl ${1:Type} {", " ${2:// add code here}", "}"],
"description": "impl … { … }"
},
"inline-fn": {
"prefix": "inline-fn",
"body": [
@ -329,16 +304,6 @@
],
"description": "inlined function"
},
"let": {
"prefix": "let",
"body": ["let ${1:pat} = ${2:expr};"],
"description": "let … = …;"
},
"loop": {
"prefix": "loop",
"body": ["loop {", " ${2:todo!();}", "}"],
"description": "loop { … }"
},
"macro_rules": {
"prefix": "macro_rules",
"body": ["macro_rules! ${1:name} {", " (${2}) => (${3})", "}"],
@ -356,11 +321,6 @@
],
"description": "match … { … }"
},
"mod": {
"prefix": "mod",
"body": ["mod ${1:name};"],
"description": "mod …;"
},
"mod-block": {
"prefix": "mod-block",
"body": ["mod ${1:name} {", " ${2:// add code here}", "}"],