diff options
Diffstat (limited to 'users/aspen/emacs.d/snippets/rust-mode/async test')
-rw-r--r-- | users/aspen/emacs.d/snippets/rust-mode/async test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/aspen/emacs.d/snippets/rust-mode/async test b/users/aspen/emacs.d/snippets/rust-mode/async test new file mode 100644 index 000000000000..2352d7b56bcc --- /dev/null +++ b/users/aspen/emacs.d/snippets/rust-mode/async test @@ -0,0 +1,10 @@ +# -*- mode: snippet -*- +# name: async test +# uuid: atest +# key: atest +# condition: t +# -- +#[tokio::test${1:(flavor = "multi_thread")}] +async fn ${2:test_name}() { + `%`$0 +} \ No newline at end of file |