Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
211 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: impl Display for Type { fn fmt (...) }
  3. # key: display
  4. # --
  5. impl Display for ${1:Type} {
  6. fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
  7. write!(f, "$0")
  8. }
  9. }