diff --git a/snippets/rust.snippets b/snippets/rust.snippets index 8882c08..396dfba 100644 --- a/snippets/rust.snippets +++ b/snippets/rust.snippets @@ -102,8 +102,10 @@ snippet eli "else if" } snippet mat "match pattern" match ${1} { - ${2} => ${3}, + ${2} => ${3} } +snippet case "Case clause of pattern match" + ${1:_} => ${2:expression} snippet loop "loop {}" b loop { ${0}