Skip to content

Instantly share code, notes, and snippets.

@mitsuhiko
Created June 20, 2017 22:12
Show Gist options
  • Save mitsuhiko/98d5d97240ffc2514fc7b796e19391ae to your computer and use it in GitHub Desktop.
Save mitsuhiko/98d5d97240ffc2514fc7b796e19391ae to your computer and use it in GitHub Desktop.
for path in paths {
for entry in WalkDir::new(path) {
if let Ok(entry) = entry {
/* do stuff here */
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment