You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnmain(){letmut v = vec![1,2,3];
v.swap(0, v.iter().position(|num| *num == 3).unwrap());}
Should this code compile? And what is the right place to ask questions about it?
I've got here following some awesome rustaceans' advises to read this RFC and then this tracking issue.
The text was updated successfully, but these errors were encountered:
No, I believe this needs full two-phase borrows (#46901).
And what is the right place to ask questions about it?
It's best to ask question on the user forum, the /r/rust subreddit, or Discord (or any other chat platform used by Rustaceans). If it's something about the feature tracked by the tracking issue, that isn't outlined in the RFC, then it might also be appropriate to drop a comment in the tracking issue.
Here's the code:
Should this code compile? And what is the right place to ask questions about it?
I've got here following some awesome rustaceans' advises to read this RFC and then this tracking issue.
The text was updated successfully, but these errors were encountered: