Skip to content

Commit

Permalink
Auto merge of #27549 - tshepang:clarity, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Aug 11, 2015
2 parents 50141d7 + ae25b77 commit f1ae605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sys/unix/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
use fs::{File, PathExt, set_permissions};
if !from.is_file() {
return Err(Error::new(ErrorKind::InvalidInput,
"the source path is not an existing file"))
"the source path is not an existing regular file"))
}

let mut reader = try!(File::open(from));
Expand Down

0 comments on commit f1ae605

Please sign in to comment.