I can find ways to detect if Rust gives me an error,
assert!(fs::metadata(path).is_err())
source
How do I test for a specific error?
Aucun commentaire:
Enregistrer un commentaire