@ubnt_intrepid @Linda_pp その場合だと
```
let (m, x) = {
let mut m = ...;
let x = ...;
//
(m, x)
};
```
みたいにすることが多いです。冗長になるので早々に関数にしたくなりますが…… (まあ関数にできるならそれはそれでリファクタリングとして正しいので良い)
@ubnt_intrepid @Linda_pp その場合だと
```
let (m, x) = {
let mut m = ...;
let x = ...;
//
(m, x)
};
```
みたいにすることが多いです。冗長になるので早々に関数にしたくなりますが…… (まあ関数にできるならそれはそれでリファクタリングとして正しいので良い)
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.