Skip to content

Commit f40e219

Browse files
authored
Update rust-mode/ifl
1 parent d153af6 commit f40e219

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)