about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets/rust-mode/async test
blob: b48e443cb8e16854963642f8f7901a61a81b75b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# -*- mode: snippet -*-
# name: async test
# uuid:
# key: atest
# condition: t
# --
#[tokio::test(threaded_scheduler)]
async fn ${1:test_name}() {
   `%`$0
}