On Wed, Oct 9, 2013 at 7:37 PM, Patrick Walton <[email protected]> wrote: > Perhaps the right thing would be > something like mutability variables: `fn reflector<mutability M>(&M self) -> > &M Reflector`.
Something like this, if it could be made to work, would be fine with me. I'm mostly interested in reducing boilerplate and repeated code. For now, I'm adding mut_ variants. See: https://github.com/mozilla/servo/commit/9d04be98e56f93c5ddfe6c1113707644b8ede413 _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
