Skip to content

Commit f1ae605

Browse files
committed
Auto merge of #27549 - tshepang:clarity, r=alexcrichton
2 parents 50141d7 + ae25b77 commit f1ae605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
536536
use fs::{File, PathExt, set_permissions};
537537
if !from.is_file() {
538538
return Err(Error::new(ErrorKind::InvalidInput,
539-
"the source path is not an existing file"))
539+
"the source path is not an existing regular file"))
540540
}
541541

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

0 commit comments

Comments
 (0)