diff options
| author | Federico Ponzi <isaacisback92@gmail.com> | 2020-08-31 15:49:27 +0200 |
|---|---|---|
| committer | Federico Ponzi <isaacisback92@gmail.com> | 2020-08-31 16:02:12 +0200 |
| commit | 2c9e27b759a9e9feeb943fb855e32d7383d1dcc6 (patch) | |
| tree | 90df2ac4e5325eb9a460f73b0b1f2daf5d65fcfb | |
| parent | 1bc0627607262cc60a7692b16e205f30fc88b89f (diff) | |
| parent | eb3906be4ad375cc6b83cd6a6e0116817db22575 (diff) | |
| download | rust-2c9e27b759a9e9feeb943fb855e32d7383d1dcc6.tar.gz rust-2c9e27b759a9e9feeb943fb855e32d7383d1dcc6.zip | |
Merge branch 'convert-openoptions-cint' of github.com:FedericoPonzi/rust into convert-openoptions-cint
| -rw-r--r-- | library/std/src/sys/unix/fs.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/fs.rs b/library/std/src/sys/unix/fs.rs index f4d3ad2d2a4..13d8d59b034 100644 --- a/library/std/src/sys/unix/fs.rs +++ b/library/std/src/sys/unix/fs.rs @@ -966,7 +966,6 @@ pub fn rename(old: &Path, new: &Path) -> io::Result<()> { Ok(()) } - pub fn set_perm(p: &Path, perm: FilePermissions) -> io::Result<()> { let p = cstr(p)?; cvt_r(|| unsafe { libc::chmod(p.as_ptr(), perm.mode) })?; |
