diff options
author | Costin-Robert Sin <sin.costinrobert@gmail.com> | 2022-06-19 02:49:07 +0300 |
---|---|---|
committer | Costin-Robert Sin <sin.costinrobert@gmail.com> | 2022-06-19 02:49:07 +0300 |
commit | 67552057828206621ba6a69cb1ef272200d5ddc6 (patch) | |
tree | cb42462776a70ded2b1a581444287e4c3bec19d4 /src/unistd.rs | |
parent | 01a5927e2c9947bb9dd983cccb41f20573fb1527 (diff) | |
download | nix-67552057828206621ba6a69cb1ef272200d5ddc6.zip |
Fix typo by adding a semicolon
Signed-off-by: Costin-Robert Sin <sin.costinrobert@gmail.com>
Diffstat (limited to 'src/unistd.rs')
-rw-r--r-- | src/unistd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index 2a8389ef..21fc39e6 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -608,7 +608,7 @@ fn reserve_double_buffer_size<T>(buf: &mut Vec<T>, limit: usize) -> Result<()> { use std::cmp::min; if buf.capacity() >= limit { - return Err(Errno::ERANGE) + return Err(Errno::ERANGE); } let capacity = min(buf.capacity() * 2, limit); |