Crate taken [] [src]

Macros for taking ownership, starring Liam Neeson

This module exports the take! macro which allows you to express ownership on one or more variables.

All of them expand into some sort of let v = v;. See the take! for more details and possible use cases.

Special Thanks

This crate was created through the community efforts at /r/rust. Special thanks to:

[In the voice of Liam Neeson] But what I do have are a very particular set of macros, macros I have acquired over a very long career. Macros that make me a nightmare for closures like you. If you let my variable go now, that'll be the end of it. I will not look for you, I will not pursue you. But if you don't, I will look for you, I will find you, and I will compile you.



Take ownership of specific variables.