Skip to content

Commit

Permalink
std: minor cleanup in some io_error descs in io::file
Browse files Browse the repository at this point in the history
  • Loading branch information
olsonjeffery committed Sep 17, 2013
1 parent d3ed9a9 commit 56c87ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/rt/io/file.rs
Expand Up @@ -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()))
})
Expand Down Expand Up @@ -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()))
})
}
Expand Down

0 comments on commit 56c87ff

Please sign in to comment.