about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2023-04-11T13·19-0400
committerclbot <clbot@tvl.fyi>2023-04-11T13·33+0000
commit6f747227f0069cf148eef4a60161a13309842ce3 (patch)
tree7126b5bbae8073bde3894d4dd67a4ba01e0d8a30 /users/grfn/emacs.d/snippets
parentfa17f99d78cce009db355c724ff7a7d8432ce6d3 (diff)
feat(grfn/emacs): Add snippet for rust test-module r/6090
Change-Id: Ie035d867d4df3ad61f9ce6b78285292105a0cb70
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8477
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
Autosubmit: grfn <grfn@gws.fyi>
Diffstat (limited to 'users/grfn/emacs.d/snippets')
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/test-module11
1 files changed, 11 insertions, 0 deletions
diff --git a/users/grfn/emacs.d/snippets/rust-mode/test-module b/users/grfn/emacs.d/snippets/rust-mode/test-module
new file mode 100644
index 000000000000..f8912680b5d8
--- /dev/null
+++ b/users/grfn/emacs.d/snippets/rust-mode/test-module
@@ -0,0 +1,11 @@
+# -*- mode: snippet -*-
+# name: test-module
+# uuid:
+# key: tmod
+# condition: t
+# --
+mod $1 {
+    use super::*;
+
+    $0
+}
\ No newline at end of file