tvl-depot/users/aspen/emacs.d/snippets/rust-mode/async test

10 lines
173 B
Text
Raw Normal View History

# -*- mode: snippet -*-
# name: async test
# uuid: atest
# key: atest
# condition: t
# --
#[tokio::test${1:(flavor = "multi_thread")}]
async fn ${2:test_name}() {
`%`$0
}