-
-
-
Replying to @sgrif
not my fault the lang team assumed that all fields have addresses
1 reply 0 retweets 2 likes -
I have an idea how it would be possible at the cost of slowing down every other operation
2 replies 0 retweets 0 likes -
Specifically: return a reference to a bool and store an Option<Index>, and then at every operation you apply the contents of that and clear the index. This should work since the mutable reference gives you exclusive access? But it’s horrible.
2 replies 0 retweets 0 likes -
Replying to @porglezomp @myrrlyn
You'd need the whole thing behind some form of `UnsafeCell` though, since you'd need to be able to apply the results of the operation from methods which take a shared reference
1 reply 0 retweets 1 like
And that form is probably `Mutex` since you lose `Sync` otherwise
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.

