summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/rust-mode/match
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/rust-mode/match')
-rw-r--r--.emacs.d/snippets/rust-mode/match7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/rust-mode/match b/.emacs.d/snippets/rust-mode/match
new file mode 100644
index 0000000..9dc802f
--- /dev/null
+++ b/.emacs.d/snippets/rust-mode/match
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: match expression { ... }
3# key: match
4# --
5match ${1:expression} {
6 $0
7}