From e895e604319ea6873e3dc3abd999e4d3179f15d8 Mon Sep 17 00:00:00 2001 From: Georgios Samaras Date: Mon, 15 Feb 2016 12:26:33 +0100 Subject: [PATCH] added missing modifier --- snippets/rust.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/rust.snippets b/snippets/rust.snippets index 3bc6904..9bf896f 100644 --- a/snippets/rust.snippets +++ b/snippets/rust.snippets @@ -36,9 +36,9 @@ snippet let "let variable declaration with type inference" snippet lett "let variable declaration with explicit type annotation" let ${1}: ${2} = ${3}; snippet letm "let mut variable declaration with type inference" - let ${1} = ${2}; + let mut ${1} = ${2}; snippet lettm "let mut variable declaration with explicit type annotation" - let ${1}: ${2} = ${3}; + let mut ${1}: ${2} = ${3}; snippet pln "println!" println!("${1}"); snippet pln, "println! with format param"