diff options
author | Dawid Ciężarkiewicz <dpc@dpc.pw> | 2017-03-13 22:29:00 -0700 |
---|---|---|
committer | Dawid Ciężarkiewicz <dpc@dpc.pw> | 2017-03-17 20:15:05 -0700 |
commit | a51c6aaf848a6cd64ace890effb6e377bbefce7d (patch) | |
tree | 09b72208fb246d0ea4aaf464e138dde1faf02170 /src | |
parent | f2adee74a318503334c07290ca767fd609aebf1f (diff) | |
download | rust-a51c6aaf848a6cd64ace890effb6e377bbefce7d.tar.gz |
Break line longer than 100 characters
Diffstat (limited to 'src')
-rw-r--r-- | src/libstd/fs.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 7ba88d6a3e1..e26b84d6b07 100644 --- a/src/libstd/fs.rs +++ b/src/libstd/fs.rs @@ -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), } |