On Fri, Jun 29, 2012 at 12:54 PM, Lindsey Kuper
<[email protected]> wrote:
> So, I want to get an actual-running-code example of the instance
> coherence problem as it stands in Rust, and Niko's example here seems
> like a good place to start.  Is "impl hash for uint" a typo for "impl
> of hash for uint"?

For those playing at home, yes, the missing "of" was a typo.  Here's a
version that compiles (with the addition of `/~` at the end of the
vector, if your version of Rust uses the transitional vector syntax)
and runs that demonstrates instance coherence:
http://pastebin.com/TfReiNUR .  Thanks to gwillen on IRC for
contributing it.

Lindsey
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to