We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cc @nikomatsakis
Test case:
struct Foo { x: ~[int] } fn main() { let x = @mut Foo { x: ~[ 1, 2, 3, 4, 5 ] }; for x.x.each |x| { io::println(x.to_str()); } }
The text was updated successfully, but these errors were encountered:
librustc: Allow mutable box substructure to be borrowed without requi…
a9f5ab1
…ring purity. Closes rust-lang#4825.
No branches or pull requests
cc @nikomatsakis
Test case:
The text was updated successfully, but these errors were encountered: