Skip to content

Commit

Permalink
Break line longer than 100 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
dpc committed Mar 13, 2017
1 parent a63ecf9 commit 4e2114f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libstd/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1777,7 +1777,8 @@ impl DirBuilder {
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),
}
Expand Down

0 comments on commit 4e2114f

Please sign in to comment.