init
This commit is contained in:
7
snippets/rust-mode/new
Normal file
7
snippets/rust-mode/new
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: pub fn new() { ... }
|
||||
# key: new
|
||||
# --
|
||||
pub fn new($1) -> ${2:Name} {
|
||||
$2 { ${3} }
|
||||
}
|
||||
Reference in New Issue
Block a user