Skip to content

Commit 0981110

Browse files
saschagrunertlpil
authored andcommitted
Fix unused_variables in Rust snippet
1 parent d7e89ca commit 0981110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/rust.snippets

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ snippet testmod "Test module" b
7474
}
7575
# Attributes
7676
snippet allow "allow lint attribute" b
77-
#[allow(${1:unused_variable})]
77+
#[allow(${1:unused_variables})]
7878
snippet cfg "cfg attribute" b
7979
#[cfg(${1:target_os = "linux"})]
8080
snippet feat "feature attribute" b

0 commit comments

Comments
 (0)