From 56c87ffb30d0c876210497d20c3493fd39a75163 Mon Sep 17 00:00:00 2001 From: Jeff Olson Date: Mon, 16 Sep 2013 23:13:16 -0700 Subject: [PATCH] std: minor cleanup in some io_error descs in io::file --- src/libstd/rt/io/file.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstd/rt/io/file.rs b/src/libstd/rt/io/file.rs index 8227f3a1cb56..75798837aff4 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())) }) }