Skip to content

Commit

Permalink
Fix the return type of Windows' OpenOptionsExt::security_qos_flags.
Browse files Browse the repository at this point in the history
This adjusts the return type of Windows' `OpenOptionsExt::security_qos_flags`
to be consistent with the other functions in the trait.
  • Loading branch information
sunfishcode committed Jul 5, 2020
1 parent 50fc24d commit 6196eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/windows/ext/fs.rs
Expand Up @@ -259,7 +259,7 @@ pub trait OpenOptionsExt {
/// [Impersonation Levels]:
/// https://docs.microsoft.com/en-us/windows/win32/api/winnt/ne-winnt-security_impersonation_level
#[stable(feature = "open_options_ext", since = "1.10.0")]
fn security_qos_flags(&mut self, flags: u32) -> &mut OpenOptions;
fn security_qos_flags(&mut self, flags: u32) -> &mut Self;
}

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

0 comments on commit 6196eaa

Please sign in to comment.