mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Break line longer than 100 characters
This commit is contained in:
+2
-1
@@ -1777,7 +1777,8 @@ fn _create(&self, path: &Path) -> io::Result<()> {
|
||||
fn create_dir_all(&self, path: &Path) -> io::Result<()> {
|
||||
match self.inner.mkdir(path) {
|
||||
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(e) => return Err(e),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user