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