My favorite rust function is std::mem::drop which is used to free or deallocate a value, similar to free() in C. Quoting the docs from stdlib, This function is not magic; it is literally defined as pubfndrop<T>(_x:T){} How could a function definition with an empty body ever be useful? Ownership and lifetimes are Rust’s most unique features and it gives you the predictability and performance of static memory management without any of its safety problems. The ownership rules are pretty simple...