@steveklabnik ran into this error; what do I Google to figure out what I'm doing wrong and how to fix it? https://gist.github.com/shepmaster/9ec942bb74838a070781 …
-
-
Replying to @JakeGoulding
@JakeGoulding the reason you can't do this is it's not memory safe. Either don't borrow mutably or use Rc or a mutex1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik I'm missing why unsafe. Is it because it can't see that the reference isn't saved/used after the fn returns?1 reply 0 retweets 0 likes -
Replying to @JakeGoulding
@JakeGoulding yes, it can't tell if you've ACTUALLY mutated the thing, just that you're trying to borrow mutably twice at the same time2 replies 0 retweets 0 likes
Replying to @steveklabnik
@steveklabnik What I'm missing is why is the first borrow live after the function returns? I'm guessing that I *could* have saved it.
12:09 PM - 7 Jul 2014
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.