From 67552057828206621ba6a69cb1ef272200d5ddc6 Mon Sep 17 00:00:00 2001 From: Costin-Robert Sin Date: Sun, 19 Jun 2022 02:49:07 +0300 Subject: Fix typo by adding a semicolon Signed-off-by: Costin-Robert Sin --- src/unistd.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd.rs') 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(buf: &mut Vec, 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); -- cgit v1.2.3