copy snippets from mac

This commit is contained in:
Willem van den Ende
2025-10-10 10:21:45 +01:00
parent 934d5ecd36
commit 2bd933dced
19 changed files with 417 additions and 0 deletions
@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: builder method with T Clonable
# key: with_attribute_t_clone
# --
pub(crate) fn with_${1:attributename}(&mut self, $1: &${2:Type}) -> &${3:structname} {
self.$1 = $1.clone();
return self;
}
$0