We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d019a49 commit ae25b77Copy full SHA for ae25b77
src/libstd/sys/unix/fs.rs
@@ -535,7 +535,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
535
use fs::{File, PathExt, set_permissions};
536
if !from.is_file() {
537
return Err(Error::new(ErrorKind::InvalidInput,
538
- "the source path is not an existing file"))
+ "the source path is not an existing regular file"))
539
}
540
541
let mut reader = try!(File::open(from));
0 commit comments