diff options
Diffstat (limited to 'users/glittershark/emacs.d/snippets/rust-mode')
5 files changed, 0 insertions, 44 deletions
diff --git a/users/glittershark/emacs.d/snippets/rust-mode/#[macro_use] b/users/glittershark/emacs.d/snippets/rust-mode/#[macro_use] deleted file mode 100644 index fea942a337f6..000000000000 --- a/users/glittershark/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/glittershark/emacs.d/snippets/rust-mode/async test b/users/glittershark/emacs.d/snippets/rust-mode/async test deleted file mode 100644 index b48e443cb8e1..000000000000 --- a/users/glittershark/emacs.d/snippets/rust-mode/async test +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: async test -# uuid: -# key: atest -# condition: t -# -- -#[tokio::test(threaded_scheduler)] -async fn ${1:test_name}() { - `%`$0 -} \ No newline at end of file diff --git a/users/glittershark/emacs.d/snippets/rust-mode/benchmark b/users/glittershark/emacs.d/snippets/rust-mode/benchmark deleted file mode 100644 index f1446923a0e4..000000000000 --- a/users/glittershark/emacs.d/snippets/rust-mode/benchmark +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: benchmark -# uuid: -# 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/glittershark/emacs.d/snippets/rust-mode/proptest b/users/glittershark/emacs.d/snippets/rust-mode/proptest deleted file mode 100644 index 377b3cfcf60c..000000000000 --- a/users/glittershark/emacs.d/snippets/rust-mode/proptest +++ /dev/null @@ -1,10 +0,0 @@ -# -*- mode: snippet -*- -# name: proptest -# uuid: -# key: proptest -# condition: t -# -- -#[proptest] -fn ${1:test_name}($2) { - `%`$0 -} \ No newline at end of file diff --git a/users/glittershark/emacs.d/snippets/rust-mode/tests b/users/glittershark/emacs.d/snippets/rust-mode/tests deleted file mode 100644 index 0a476ab58661..000000000000 --- a/users/glittershark/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 -} |