summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDawid Ciężarkiewicz <dpc@dpc.pw>2017-03-13 22:29:00 -0700
committerDawid Ciężarkiewicz <dpc@dpc.pw>2017-03-17 20:15:05 -0700
commita51c6aaf848a6cd64ace890effb6e377bbefce7d (patch)
tree09b72208fb246d0ea4aaf464e138dde1faf02170 /src
parentf2adee74a318503334c07290ca767fd609aebf1f (diff)
downloadrust-a51c6aaf848a6cd64ace890effb6e377bbefce7d.tar.gz
Break line longer than 100 characters
Diffstat (limited to 'src')
-rw-r--r--src/libstd/fs.rs3
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),
}