summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
authorPhilipp Keller <philipp.keller@gmail.com>2016-09-06 17:19:07 +0200
committerPhilipp Keller <philipp.keller@gmail.com>2016-09-06 17:19:07 +0200
commitc0a578539a4ad6b1f8ad48b8e26fbacc0d55852d (patch)
tree38570eee3f66fda6919dddf0dde12859809583ab /src/unistd.rs
parent8fbd8e91ff9ef518287bb4f2a012d3f62332f1ca (diff)
downloadnix-c0a578539a4ad6b1f8ad48b8e26fbacc0d55852d.zip
fixed the trailing whitespaces
Diffstat (limited to 'src/unistd.rs')
-rw-r--r--src/unistd.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd.rs b/src/unistd.rs
index 6c3a1ebf..900be379 100644
--- a/src/unistd.rs
+++ b/src/unistd.rs
@@ -144,7 +144,7 @@ pub fn getcwd() -> Result<PathBuf> {
// ERANGE means buffer was too small to store directory name
if error != Errno::ERANGE {
return Err(Error::Sys(error));
- }
+ }
}
// Trigger the internal buffer resizing logic of `Vec` by requiring
@@ -153,7 +153,7 @@ pub fn getcwd() -> Result<PathBuf> {
buf.set_len(cap);
buf.reserve(1);
}
- }
+ }
}
#[inline]