Reading directory in Rust
In this post, we work on the code that reads the contents of a directory. First, we get the path of the directory from a command line argument:
let args: Vec<String> = env::args().collect();
if args.len() < 2 {
eprintln!("Usage: readd...
ajanicij.hashnode.dev3 min read