Trait method std::os::windows::fs::OpenOptionsExt::security_qos_flags()
returns a &mut OpenOptions
instead of &mut Self
#49961
Labels
O-windows
Operating system: Windows
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
https://doc.rust-lang.org/src/std/sys/windows/ext/fs.rs.html#279-281
There's no reason for that method to return a concrete type instead of
Self
. I am currently writing anOpenOptions
wrapper and that method is preventing me from implementingOpenOptionsExt
for the wrapper. However, the trait is already stable (even if most likely unimplemented outsidelibstd
) so I'm not sure what's the proper way of changing this?The text was updated successfully, but these errors were encountered: