This repository has been archived on 2021-04-06. You can view files and clone it, but cannot push or open issues/pull-requests.
|
snippet disp "Display trait implentation"
|
|
impl fmt::Display for ${1:Struct} {
|
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
|
write!(f, "${2}", ${3})
|
|
}
|
|
}${0}
|
|
endsnippet
|