Merge pull request #687 from kernelrain/rust_fix
added missing `mut` modifier
This commit is contained in:
commit
122134f9fa
@ -36,9 +36,9 @@ snippet let "let variable declaration with type inference"
|
|||||||
snippet lett "let variable declaration with explicit type annotation"
|
snippet lett "let variable declaration with explicit type annotation"
|
||||||
let ${1}: ${2} = ${3};
|
let ${1}: ${2} = ${3};
|
||||||
snippet letm "let mut variable declaration with type inference"
|
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"
|
snippet lettm "let mut variable declaration with explicit type annotation"
|
||||||
let ${1}: ${2} = ${3};
|
let mut ${1}: ${2} = ${3};
|
||||||
snippet pln "println!"
|
snippet pln "println!"
|
||||||
println!("${1}");
|
println!("${1}");
|
||||||
snippet pln, "println! with format param"
|
snippet pln, "println! with format param"
|
||||||
|
Loading…
Reference in New Issue
Block a user