On 10/10/12 3:49 PM, Eddy Cizeron wrote:
 > There's no (A,B) parameter or return type anywhere.  That would fit
 > into insert(), but it would not make sense for peek, where I have no B
 > at hand.

I do not see why this could not be written with a generic trait.

Patrick

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

Reply via email to