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