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