Skip to content

Commit a16490e

Browse files
authored
Rollup merge of rust-lang#74074 - sunfishcode:windows-openoptionsext-return-type, r=LukasKalbertodt
Fix the return type of Windows' `OpenOptionsExt::security_qos_flags`. This adjusts the return type of Windows' `OpenOptionsExt::security_qos_flags` to be consistent with the other functions in the trait.
2 parents 26935a4 + 6196eaa commit a16490e

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/sys/windows/ext

1 file changed

+1
-1
lines changed

src/libstd/sys/windows/ext/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ pub trait OpenOptionsExt {
259259
/// [Impersonation Levels]:
260260
/// https://docs.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level
261261
#[stable(feature = "open_options_ext", since = "1.10.0")]
262-
fn security_qos_flags(&mut self, flags: u32) -> &mut OpenOptions;
262+
fn security_qos_flags(&mut self, flags: u32) -> &mut Self;
263263
}
264264

265265
#[stable(feature = "open_options_ext", since = "1.10.0")]

0 commit comments

Comments
 (0)