Anyone know why updating a mutable nested data structure does not work in Rust? https://play.rust-lang.org/?gist=7d1c74757721030f59b58954e19028b4 ….
-
-
Replying to @deech
It's connected to how lifetimes are based on scopes. One workaround is tail recursion: https://play.rust-lang.org/?gist=232ddf02aec2b77a93204dbd9aa1257c&version=stable&backtrace=0 …
1 reply 0 retweets 0 likes -
Replying to @nikomatsakis @deech
corvus frugilegus Retweeted corvus frugilegus
it's auto-reborrowing of &mut isn't it?https://twitter.com/glaebhoerl/status/777138476949053440 …
corvus frugilegus added,
1 reply 0 retweets 0 likes
Replying to @glaebhoerl @deech
ah, I see the follow-up now. I think most specifically it is this issue https://github.com/rust-lang/rfcs/issues/1751 … but I've not dug deeply
4:11 AM - 18 Sep 2016
0 replies
0 retweets
0 likes
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.