summaryrefslogtreecommitdiff
path: root/rust-mode/print
diff options
context:
space:
mode:
Diffstat (limited to 'rust-mode/print')
-rw-r--r--rust-mode/print5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust-mode/print b/rust-mode/print
new file mode 100644
index 0000000..11ba7c8
--- /dev/null
+++ b/rust-mode/print
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: print!("{}", value);
+# key: print
+# --
+print!("${1:{}}", $2); \ No newline at end of file