diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2013-09-16 23:13:16 -0700 |
|---|---|---|
| committer | Jeff Olson <olson.jeffery@gmail.com> | 2013-09-16 23:19:24 -0700 |
| commit | 56c87ffb30d0c876210497d20c3493fd39a75163 (patch) | |
| tree | e2faa96fe9891b3d3cd5dfb059543d3a734512e7 | |
| parent | d3ed9a9e3bbcbdb6b098f8b7c8edc283f317cd30 (diff) | |
| download | rust-56c87ffb30d0c876210497d20c3493fd39a75163.tar.gz rust-56c87ffb30d0c876210497d20c3493fd39a75163.zip | |
std: minor cleanup in some io_error descs in io::file
| -rw-r--r-- | src/libstd/rt/io/file.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/rt/io/file.rs b/src/libstd/rt/io/file.rs index 8227f3a1cb5..75798837aff 100644 --- a/src/libstd/rt/io/file.rs +++ b/src/libstd/rt/io/file.rs @@ -603,7 +603,7 @@ trait DirectoryInfo : FileSystemInfo { Some(_) => { io_error::cond.raise(IoError { kind: PathAlreadyExists, - desc: "path already exists", + desc: "Path already exists", detail: Some(fmt!("%s already exists; can't mkdir it", self.get_path().to_str())) }) @@ -642,7 +642,7 @@ trait DirectoryInfo : FileSystemInfo { None => io_error::cond.raise(IoError { kind: PathDoesntExist, - desc: "path doesn't exist", + desc: "Path doesn't exist", detail: Some(fmt!("%s doesn't exist; can't rmdir it", self.get_path().to_str())) }) } |
