Niko Matsakis wrote:
Based on our last meeting, there seems to be general agreement towards a system that allows methods to be imported as standalone functions that take the receiver as first argument as well [1].

Actually, it occurs to me that we only discussed these kinds of imports in the context of static fns. But in any case I am a fan of permitting any function defined in an impl to be imported and used as a standalone function, and I think I am not alone in this. =)


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

Reply via email to