diff options
| author | P1start <rewi-github@whanau.org> | 2014-10-06 16:08:46 +1300 |
|---|---|---|
| committer | P1start <rewi-github@whanau.org> | 2014-10-06 16:43:34 +1300 |
| commit | e3ca987f7485c7a43f13980cbce34d98689ac3f4 (patch) | |
| tree | 2de9ed81a7eb2d7aa40a1c94120775a8c033534f /src/librustdoc | |
| parent | 5660db2508159513e0ade032ae9349977e7371b5 (diff) | |
| download | rust-e3ca987f7485c7a43f13980cbce34d98689ac3f4.tar.gz rust-e3ca987f7485c7a43f13980cbce34d98689ac3f4.zip | |
Rename the file permission statics in std::io to be uppercase
For example, this renames `GroupRWX` to `GROUP_RWX`, and deprecates the old name. Code using these statics should be updated accordingly.
Diffstat (limited to 'src/librustdoc')
| -rw-r--r-- | src/librustdoc/html/render.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 8668e684c2d..cef44c2b262 100644 --- a/src/librustdoc/html/render.rs +++ b/src/librustdoc/html/render.rs @@ -618,7 +618,7 @@ fn write(dst: Path, contents: &[u8]) -> io::IoResult<()> { /// skipping if the directory already exists. fn mkdir(path: &Path) -> io::IoResult<()> { if !path.exists() { - fs::mkdir(path, io::UserRWX) + fs::mkdir(path, io::USER_RWX) } else { Ok(()) } |
