(self, fd: i32)
| 411 | |
| 412 | impl KeepFds<'_> { |
| 413 | fn should_keep(self, fd: i32) -> bool { |
| 414 | fd > self.above |
| 415 | && self |
| 416 | .keep |
| 417 | .binary_search_by_key(&fd, BorrowedFd::as_raw_fd) |
| 418 | .is_err() |
| 419 | } |
| 420 | } |
| 421 | |
| 422 | fn close_fds(keep: KeepFds<'_>) { |
no test coverage detected