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