Files
2024-04-30 07:08:23 +02:00

11 lines
198 B
Plaintext

# -*- mode: snippet -*-
# name: impl From<From> for Type { fn from(...) }
# key: from
# --
impl From<${1:From}> for ${2:Type} {
fn from(source: $1) -> Self {
$0
Self { }
}
}