Skip to content

Commit 96bd3d0

Browse files
committed
Removed needless return
cleaned up
1 parent 835a0ae commit 96bd3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/system/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub(crate) fn mark_fds_as_cloexec() -> io::Result<()> {
170170
return Ok(());
171171
}
172172

173-
return cloexec_via_fd_dir(lowfd, "/proc/self/fd");
173+
cloexec_via_fd_dir(lowfd, "/proc/self/fd")
174174
}
175175

176176
#[cfg(target_os = "macos")]

0 commit comments

Comments
 (0)