For every single thing that’s stored on the heap, there’s something on the stack. So this is how the magic of #rust happens. So as we clean up memory on the stack, anything that has heap-related memory can also be clean at the same time for free
fn foo(num: Option<usize>) -> Option<usize> {
let num = num?;
// same as
let num = match num {
Some(x) => x,
None => None,
}
}
#rust is fucking awesome
Seriously @vuejs you can just copy the same @reactjs#devtools UI and just fill it with #vue components data…that’s it, the world is a better place doing that