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

7 lines
143 B
Plaintext

# -*- mode: snippet -*-
# name: while let pattern = expression { ... }
# key: whilel
# --
while let ${1:pattern} = ${2:expression} {
$0
}