diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/unistd.rs | 4 |
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] |