How can you delete all the files in a directory without deleting the directory itself?
I thought this would work but it gives an error:
for entry in std::fs::read_dir("tmp/my_items") {
std::fs::remove_file(entry);
}
the trait `AsRef<std::path::Path>` is not implemented for `ReadDir`