Change Mutex content in Rust
A snippet is worth a thousand words.
Erase all elements in a vector with Rust
We should have or make a vector. Now, we want to leave the vector empty. Let's see how to do this with a single line solution.
Get directory path in Bash
A simple solution without external commands.