about summary refs log tree commit diff
path: root/users/grfn/emacs.d/snippets/rust-mode
diff options
context:
space:
mode:
authorAspen Smith <grfn@gws.fyi>2024-02-12T03·00-0500
committerclbot <clbot@tvl.fyi>2024-02-14T19·37+0000
commit82ecd61f5c699cf3af6c4eadf47a1c52b1d696c6 (patch)
tree429c5e078528000591742ec3211bc768ae913a78 /users/grfn/emacs.d/snippets/rust-mode
parent0ba476a4266015f278f18d74094299de74a5a111 (diff)
chore(users): grfn -> aspen r/7511
Change-Id: I6c6847fac56f0a9a1a2209792e00a3aec5e672b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10809
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'users/grfn/emacs.d/snippets/rust-mode')
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/#[macro_use]5
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/async test10
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/benchmark10
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/proptest10
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/test-module11
-rw-r--r--users/grfn/emacs.d/snippets/rust-mode/tests9
6 files changed, 0 insertions, 55 deletions
diff --git a/users/grfn/emacs.d/snippets/rust-mode/#[macro_use] b/users/grfn/emacs.d/snippets/rust-mode/#[macro_use]
deleted file mode 100644
index fea942a337f6..000000000000
--- a/users/grfn/emacs.d/snippets/rust-mode/#[macro_use]
+++ /dev/null
@@ -1,5 +0,0 @@
-# key: macro_use
-# name: #[macro_use]
-# --
-#[macro_use]
-${1:extern crate} ${2:something};$0
diff --git a/users/grfn/emacs.d/snippets/rust-mode/async test b/users/grfn/emacs.d/snippets/rust-mode/async test
deleted file mode 100644
index 2352d7b56bcc..000000000000
--- a/users/grfn/emacs.d/snippets/rust-mode/async test
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- mode: snippet -*-
-# name: async test
-# uuid: atest
-# key: atest
-# condition: t
-# --
-#[tokio::test${1:(flavor = "multi_thread")}]
-async fn ${2:test_name}() {
-   `%`$0
-}
\ No newline at end of file
diff --git a/users/grfn/emacs.d/snippets/rust-mode/benchmark b/users/grfn/emacs.d/snippets/rust-mode/benchmark
deleted file mode 100644
index 9ec43075380b..000000000000
--- a/users/grfn/emacs.d/snippets/rust-mode/benchmark
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- mode: snippet -*-
-# name: benchmark
-# uuid: benchmark
-# key: bench
-# condition: t
-# --
-#[bench]
-fn ${1:benchmark_name}(b: &mut Bencher) {
-   `%`b.iter(|| $0);
-}
\ No newline at end of file
diff --git a/users/grfn/emacs.d/snippets/rust-mode/proptest b/users/grfn/emacs.d/snippets/rust-mode/proptest
deleted file mode 100644
index be12af49113a..000000000000
--- a/users/grfn/emacs.d/snippets/rust-mode/proptest
+++ /dev/null
@@ -1,10 +0,0 @@
-# -*- mode: snippet -*-
-# name: proptest
-# uuid: proptest
-# key: proptest
-# condition: t
-# --
-#[proptest]
-fn ${1:test_name}($2) {
-   `%`$0
-}
\ No newline at end of file
diff --git a/users/grfn/emacs.d/snippets/rust-mode/test-module b/users/grfn/emacs.d/snippets/rust-mode/test-module
deleted file mode 100644
index bfa2ca2d1881..000000000000
--- a/users/grfn/emacs.d/snippets/rust-mode/test-module
+++ /dev/null
@@ -1,11 +0,0 @@
-# -*- mode: snippet -*-
-# name: test-module
-# uuid: test-module
-# key: tmod
-# condition: t
-# --
-mod $1 {
-    use super::*;
-
-    $0
-}
\ No newline at end of file
diff --git a/users/grfn/emacs.d/snippets/rust-mode/tests b/users/grfn/emacs.d/snippets/rust-mode/tests
deleted file mode 100644
index 0a476ab58661..000000000000
--- a/users/grfn/emacs.d/snippets/rust-mode/tests
+++ /dev/null
@@ -1,9 +0,0 @@
-# key: tests
-# name: test module
-# --
-#[cfg(test)]
-mod ${1:tests} {
-    use super::*;
-
-    $0
-}