init
This commit is contained in:
9
snippets/rust-mode/drop
Normal file
9
snippets/rust-mode/drop
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# name: impl Drop for Type { fn drop(...) }
|
||||
# key: drop
|
||||
# --
|
||||
impl Drop for ${1:Type} {
|
||||
fn drop(&mut self) {
|
||||
$0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user