builderパターンで&mut self使うやつ、良くないなぁとは思いつつ便利なのでついつい使ってしまう
-
Show this thread
let mut foo = Foo::builder(); if let Some(a) = a_opt { foo = http://foo.foo (a); } みたいに一々所有権を意識するのが嫌なので使うことが多い
0 replies
1 retweet
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.