Skip to content

Commit 6755205

Browse files
committed
Fix typo by adding a semicolon
Signed-off-by: Costin-Robert Sin <[email protected]>
1 parent 01a5927 commit 6755205

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unistd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ fn reserve_double_buffer_size<T>(buf: &mut Vec<T>, limit: usize) -> Result<()> {
608608
use std::cmp::min;
609609

610610
if buf.capacity() >= limit {
611-
return Err(Errno::ERANGE)
611+
return Err(Errno::ERANGE);
612612
}
613613

614614
let capacity = min(buf.capacity() * 2, limit);

0 commit comments

Comments
 (0)