On Tuesday, 3 March 2015 at 02:10:23 UTC, weaselcat wrote:
On Tuesday, 3 March 2015 at 02:04:15 UTC, weaselcat wrote:
On Tuesday, 3 March 2015 at 01:56:09 UTC, Walter Bright wrote:
On 3/2/2015 4:40 PM, deadalnix wrote:
After moving resources, the previous owner can no longer be used.

How does that work with the example presented by Marc?

He couldn't pass s and a member of s because s is borrowed as mutable.
He would have to pass both as immutable.

Er, I was speaking in terms of Rust of course(it has no distinction between const and immutable like D afaik)

http://dpaste.com/30WAMVQ

I hope this helps explain it and I didn't butcher it too bad : )
Sorry for the triple reply.

Reply via email to