diff options
Diffstat (limited to '.emacs.d/snippets/rust-mode/afn')
| -rw-r--r-- | .emacs.d/snippets/rust-mode/afn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/rust-mode/afn b/.emacs.d/snippets/rust-mode/afn new file mode 100644 index 0000000..9ed1d9c --- /dev/null +++ b/.emacs.d/snippets/rust-mode/afn | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # -*- mode: snippet -*- | ||
| 2 | # name: async fn name() { ... } | ||
| 3 | # key: afn | ||
| 4 | # -- | ||
| 5 | async fn ${1:name}($2) { | ||
| 6 | $0 | ||
| 7 | } \ No newline at end of file | ||
