On 13-07-15 10:43 AM, Michael Woerister wrote:

> Thanks for your response. I'll give it a try and hopefully you'll see
> some corresponding pull requests over the next few days.

I suspect you'll want to make a trait `Spanned` that the various
spanned-types implement, such that code that generically acts on "Some
spanned thing" can continue to work. Not sure, just a hunch.

(spanned<T> predates having traits at all, so if there's a better way to
approach this in current idioms, go right ahead)

-Graydon


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

Reply via email to