Skip to content

Commit 1196e3b

Browse files
committed
Removed needless return
1 parent 835a0ae commit 1196e3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)