Skip to content

Commit fc6fcaa

Browse files
authored
Merge pull request #286 from mssdvd/patch-1
Update rust-mode/ifl
2 parents a778670 + f40e219 commit fc6fcaa

File tree

1 file changed

+3
-1
lines changed
  • snippets/rust-mode

1 file changed

+3
-1
lines changed

snippets/rust-mode/ifl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
# name: if let pattern = expression { ... };
33
# key: ifl
44
# --
5-
if let ${1:pattern} = ${2:expression} { $0 };
5+
if let ${1:pattern} = ${2:expression} {
6+
$0
7+
};

0 commit comments

Comments
 (0)