summaryrefslogtreecommitdiff
path: root/rust-mode/allow
diff options
context:
space:
mode:
Diffstat (limited to 'rust-mode/allow')
-rw-r--r--rust-mode/allow5
1 files changed, 5 insertions, 0 deletions
diff --git a/rust-mode/allow b/rust-mode/allow
new file mode 100644
index 0000000..c30c1e8
--- /dev/null
+++ b/rust-mode/allow
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: #[allow(lint)]
+# key: allow
+# --
+#[allow(${1:lint})] \ No newline at end of file