Skip to content

Commit 94292e2

Browse files
authored
Merge pull request #48 from snyball/master
Fix if-let and while-let
2 parents 60c57d6 + 5e09406 commit 94292e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-mode/if-let

Lines changed: 1 addition & 1 deletion
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
88
}

rust-mode/while-let

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# --
66
while let ${1:pattern} = ${2:expression} {
77
$0
8-
}
8+
}

0 commit comments

Comments
 (0)