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