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