Rename ErrorKind::Unknown to Uncategorized.

This commit is contained in:
Mara Bos
2021-06-15 14:27:31 +02:00
parent 82d3ef199f
commit a0d11a4fab
23 changed files with 72 additions and 62 deletions

View File

@@ -2190,7 +2190,7 @@ impl DirBuilder {
Some(p) => self.create_dir_all(p)?,
None => {
return Err(io::Error::new_const(
io::ErrorKind::Unknown,
io::ErrorKind::Uncategorized,
&"failed to create whole tree",
));
}