Skip to content

Commit f2c880d

Browse files
authored
Fix if-let
It should be `=` and not `=>`, at least as of current stable Rust.
1 parent 60c57d6 commit f2c880d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rust-mode/if-let

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# key: ifl
44
# uuid: ifl
55
# --
6-
if let ${1:Some(${2:x})} => ${3:var} {
6+
if let ${1:Some(${2:x})} = ${3:var} {
77
`%`$0
8-
}
8+
}

0 commit comments

Comments
 (0)