Update Rust for to use new range syntax
This commit is contained in:
parent
e23c91001e
commit
18733185c1
@ -214,6 +214,7 @@ This list is kept up-to-date on a best effort basis.
|
|||||||
* PHP - [chrisyue](http://github.com/chrisyue)
|
* PHP - [chrisyue](http://github.com/chrisyue)
|
||||||
* Python - [honza](http://github.com/honza)
|
* Python - [honza](http://github.com/honza)
|
||||||
* Ruby - [taq](http://github.com/taq)
|
* Ruby - [taq](http://github.com/taq)
|
||||||
|
* Rust - [lpil](https://github.com/lpil)
|
||||||
* Scala - [gorodinskiy](https://github.com/gorodinskiy)
|
* Scala - [gorodinskiy](https://github.com/gorodinskiy)
|
||||||
|
|
||||||
License
|
License
|
||||||
|
@ -164,7 +164,7 @@ while ${1} {
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet for "for .. in .." b
|
snippet for "for .. in .." b
|
||||||
for ${1:i} in ${2:range(0u, 10)} {
|
for ${1:i} in ${2:${3:0us}..${4:10}} {
|
||||||
${VISUAL}${0}
|
${VISUAL}${0}
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
@ -70,7 +70,7 @@ snippet while
|
|||||||
${0}
|
${0}
|
||||||
}
|
}
|
||||||
snippet for
|
snippet for
|
||||||
for ${1:i} in ${2:range(0u, 10)} {
|
for ${1:i} in ${2:0u..10} {
|
||||||
${0}
|
${0}
|
||||||
}
|
}
|
||||||
snippet spawn
|
snippet spawn
|
||||||
|
Loading…
Reference in New Issue
Block a user