Update unix_permissions.rs

This commit is contained in:
Nikolay Volf 2018-08-25 12:07:02 +03:00 committed by GitHub
parent 17fab427d1
commit 6311536a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
/// A NOOP struct for bringing the API between Windows and Unix up to parity. To set permissions
/// properly on Unix, you can just use `std::os::unix::fs::PermissionsExt`.
pub struct SecurityAttributes
pub struct SecurityAttributes;
impl SecurityAttributes {
pub fn empty() -> Self { SecurityAttributes }