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