Fix rust for snippets

This commit is contained in:
Louis Pilfold 2015-05-17 19:55:08 +01:00
parent 1327c1ba54
commit 8be99daa68
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ mod ${1:`!p snip.rv = snip.basename.lower() or "name"`} {
endsnippet
snippet for "for .. in .." b
for ${1:i} in ${2:${3:0us}..${4:10}} {
for ${1:i} in ${2} {
${VISUAL}${0}
}
endsnippet

View File

@ -111,7 +111,7 @@ snippet while "while loop"
${0}
}
snippet for "for ... in ... loop"
for ${1:i} in ${2:0u..10} {
for ${1:i} in ${2} {
${0}
}
# TODO commenting