Skip to content

Commit 6196eaa

Browse files
committed
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.
1 parent 50fc24d commit 6196eaa

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)