From dcd4a586439a1c81357d5b9d26319ae218cc9479 Mon Sep 17 00:00:00 2001 From: Ardi <47633543+dev-ardi@users.noreply.github.com> Date: Sun, 25 Feb 2024 05:59:29 +0100 Subject: [PATCH] Remove some none (#409) Co-authored-by: orion GONZALEZ (contractor) --- snippets/rust/rust.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/snippets/rust/rust.json b/snippets/rust/rust.json index be3c5a20..cbae65af 100644 --- a/snippets/rust/rust.json +++ b/snippets/rust/rust.json @@ -352,10 +352,7 @@ "match": { "prefix": "match", "body": [ - "match ${1:expr} {", - " ${2:Some(expr)} => ${3:expr},", - " ${4:None} => ${5:expr},", - "}" + "match ${1:expr} {}" ], "description": "match … { … }" },