だれかこの例で (1') がダメで (3') が問題ない理由を教えて… https://gist.github.com/ubnt-intrepid/3cd3d3910b775e003dbe3de9eb0e1ff8 … MIRを見たら出力結果が同じっぽい…
-
-
個人的にはその理論で理解しています(正しいとは確認してない) ちなみにbazの定義は fn baz(&mut self) -> &'s str {} と同じなのでこの場合foo()の定義の方が不自然ですよね。
-
foo() みたいなのは僕も書かないですね…(まぁ実験なので)
- 2 more replies
New conversation -
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.