summaryrefslogtreecommitdiff
path: root/src/unistd.rs
diff options
context:
space:
mode:
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]