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.
1 parent ef3ec61 commit 3083b23Copy full SHA for 3083b23
rust-mode/async_fn
@@ -0,0 +1,9 @@
1
+# -*- mode: snippet -*-
2
+# name: async function
3
+# key: afn
4
+# uuid: afn
5
+# condition: (doom-snippets-bolp)
6
+# --
7
+async fn ${1:function_name}($2) ${3:-> ${4:i32} }{
8
+ `%`$0
9
+}
rust-mode/pub_async_fn
+# name: public async function
+# key: pafn
+# uuid: pafn
+pub async fn ${1:function_name}($2) ${3:-> ${4:i32} }{
0 commit comments