On 08/28/2011 03:42 PM, Graydon Hoare wrote:
This more-or-less corresponds to what I expected. However, it's not quite what I observed. For example:if @[1,2,3] == (@[1,2] + @[3]) { stdout.write_line("TRUE"); } prints "TRUE". I guess the pointers could be equal but it would be a bit surprising to me.Yeah. That's probably a bug.
I thought == (and <, >) were supposed to be deep? That's how I implemented them anyway.
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
