dotfiles/.emacs.d/snippets/rust-mode/ife

9 lines
123 B
Plaintext

# -*- mode: snippet -*-
# name: if expression { ... } else { .. }
# key: ife
# --
if ${1:expression} {
$0
} else {
}