One new snippet and one small fix for Rust

This commit is contained in:
Piotr Jawniak 2014-06-01 10:12:07 +02:00
parent c3db5beee9
commit b0733edacc

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<..>"