about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets/rust-mode/async test
diff options
context:
space:
mode:
Diffstat (limited to 'users/grfn/emacs.d/snippets/rust-mode/async test')
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/async test10
1 files changed, 10 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/snippets/rust-mode/async test b/users/grfn/emacs.d/snippets/rust-mode/async test
new file mode 100644
index 000000000000..8465225663fb
--- /dev/null
+++ b/users/grfn/emacs.d/snippets/rust-mode/async test
@@ -0,0 +1,10 @@
+# -*- mode: snippet -*-
+# name: async test
+# uuid:
+# key: atest
+# condition: t
+# --
+#[tokio::test(flavor = "multi_thread")]
+async fn ${1:test_name}() {
+   `%`$0
+}
\ No newline at end of file