Skip to content

Commit

Permalink
One new snippet and one small fix for Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawyer47 committed Jun 1, 2014
1 parent c3db5be commit b0733ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions UltiSnips/rust.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ snippet feat "#![feature(..)]" b
#![feature(${1:macro_rules})]
endsnippet

snippet der "#![deriving(..)]" b
#![deriving(${1:Show})]
snippet der "#[deriving(..)]" b
#[deriving(${1:Show})]
endsnippet

snippet attr "#[..]" b
#[${1:inline}]
endsnippet

snippet opt "Option<..>"
Expand Down

0 comments on commit b0733ed

Please sign in to comment.