Open
Description
Location
- Second impl block for
BorrowedFd<'_>
, safety is in the first one:rust/library/std/src/os/solid/io.rs
Lines 125 to 126 in dee7d0e
- Near impl safety block of
OwnedFd
:rust/library/std/src/os/solid/io.rs
Lines 170 to 171 in dee7d0e
Summary
This is my first issue so maybe there is no issue.
I'm checking some unsafe blocks just in case something is missing and there are those without safety blocks.
Since I saw a different file with a safety block in the drop
function (see:
rust/library/core/src/cell/lazy.rs
Lines 150 to 152 in dee7d0e
What guide could I check to make sure?
Thanks in advance.