ownage
Perform a massive ownage of your variables!
For those who tired of manually cloning all the fancy arcs and boxes before passing them into a closure/thread/future, but who's also against introducing another general purpose macro into the codebase.
The own function tries to provide the golden mean between code ergonomics and readability.
Usage
use own;
let string = Stringnew;
let str_ref = string.as_str;
let vec = Vec::new;
let slice = vec.as_slice;
let arc = new;
let u = 42u8;
let answer = own;
assert_eq!;