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.
2 parents 50141d7 + ae25b77 commit f1ae605Copy full SHA for f1ae605
src/libstd/sys/unix/fs.rs
@@ -536,7 +536,7 @@ pub fn copy(from: &Path, to: &Path) -> io::Result<u64> {
536
use fs::{File, PathExt, set_permissions};
537
if !from.is_file() {
538
return Err(Error::new(ErrorKind::InvalidInput,
539
- "the source path is not an existing file"))
+ "the source path is not an existing regular file"))
540
}
541
542
let mut reader = try!(File::open(from));
0 commit comments