The dropping behaviour for std::fs::File is inherited through the sys::fs::File object, meaning that its documentation does not come through to the File type. As a result, there is no documentation of the behaviour of File and, in particular, the decision to swallow errors (likely the correct one, but it should nonetheless be documented).
The dropping behaviour for
std::fs::Fileis inherited through thesys::fs::Fileobject, meaning that its documentation does not come through to theFiletype. As a result, there is no documentation of the behaviour ofFileand, in particular, the decision to swallow errors (likely the correct one, but it should nonetheless be documented).