mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-29 12:43:26 -05:00
remove the await on tram_db call
This commit is contained in:
12
.vscode/resolver.code-snippets
vendored
12
.vscode/resolver.code-snippets
vendored
@@ -10,5 +10,17 @@
|
||||
"\t}",
|
||||
"}"
|
||||
]
|
||||
},
|
||||
"static": {
|
||||
"scope": "rust",
|
||||
"prefix": "static",
|
||||
"body": [
|
||||
"fn ${1}() -> &'static ${2} {",
|
||||
"\tstatic ${3}: OnceLock<${2}> = OnceLock::new();",
|
||||
"\t${3}.get_or_init(|| {",
|
||||
"\t\t${0}",
|
||||
"\t})",
|
||||
"}"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user