Break line longer than 100 characters
This commit is contained in:
parent
f2adee74a3
commit
a51c6aaf84
@ -1777,7 +1777,8 @@ impl DirBuilder {
|
|||||||
fn create_dir_all(&self, path: &Path) -> io::Result<()> {
|
fn create_dir_all(&self, path: &Path) -> io::Result<()> {
|
||||||
match self.inner.mkdir(path) {
|
match self.inner.mkdir(path) {
|
||||||
Ok(()) => return Ok(()),
|
Ok(()) => return Ok(()),
|
||||||
Err(ref e) if e.kind() == io::ErrorKind::AlreadyExists && path.is_dir() => return Ok(()),
|
Err(ref e)
|
||||||
|
if e.kind() == io::ErrorKind::AlreadyExists && path.is_dir() => return Ok(()),
|
||||||
Err(ref e) if e.kind() == io::ErrorKind::NotFound => {}
|
Err(ref e) if e.kind() == io::ErrorKind::NotFound => {}
|
||||||
Err(e) => return Err(e),
|
Err(e) => return Err(e),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user