Merge pull request #373 from Sawyer47/rust-fix

Rust: fixes and one new snippet.
This commit is contained in:
Holger Rapp 2014-06-01 12:57:23 +02:00
commit 45bcd32d59

View File

@ -103,8 +103,12 @@ snippet feat "#![feature(..)]" b
#![feature(${1:macro_rules})] #![feature(${1:macro_rules})]
endsnippet endsnippet
snippet der "#![deriving(..)]" b snippet der "#[deriving(..)]" b
#![deriving(${1:Show})] #[deriving(${1:Show})]
endsnippet
snippet attr "#[..]" b
#[${1:inline}]
endsnippet endsnippet
snippet opt "Option<..>" snippet opt "Option<..>"