Skip to content

Commit

Permalink
Merge pull request #48 from snyball/master
Browse files Browse the repository at this point in the history
Fix if-let and while-let
  • Loading branch information
hlissner committed Aug 22, 2020
2 parents 60c57d6 + 5e09406 commit 94292e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-mode/if-let
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# key: ifl
# uuid: ifl
# --
if let ${1:Some(${2:x})} => ${3:var} {
if let ${1:Some(${2:x})} = ${3:var} {
`%`$0
}
2 changes: 1 addition & 1 deletion rust-mode/while-let
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
# --
while let ${1:pattern} = ${2:expression} {
$0
}
}

0 comments on commit 94292e2

Please sign in to comment.