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