77// TODO: https://rust-lang.github.io/api-guidelines/checklist.html
88
99#![ doc = include_str ! ( "../README.md" ) ]
10- #![ doc( html_root_url = "https://docs.rs/process_vm_io/1.0.13 " ) ]
10+ #![ doc( html_root_url = "https://docs.rs/process_vm_io/1.0.14 " ) ]
1111#![ warn(
1212 unsafe_op_in_unsafe_fn,
1313 missing_docs,
@@ -435,7 +435,7 @@ impl Read for ProcessVirtualMemoryIO {
435435 & [ local_io_vector] ,
436436 buf. len ( ) as u64 ,
437437 )
438- . map_err ( |err| io:: Error :: new ( io :: ErrorKind :: Other , err ) )
438+ . map_err ( io:: Error :: other )
439439 }
440440
441441 fn read_vectored ( & mut self , bufs : & mut [ IoSliceMut ] ) -> io:: Result < usize > {
@@ -447,7 +447,7 @@ impl Read for ProcessVirtualMemoryIO {
447447 local_io_vectors,
448448 byte_count,
449449 )
450- . map_err ( |err| io:: Error :: new ( io :: ErrorKind :: Other , err ) )
450+ . map_err ( io:: Error :: other )
451451 }
452452}
453453
@@ -464,7 +464,7 @@ impl Write for ProcessVirtualMemoryIO {
464464 & [ local_io_vector] ,
465465 buf. len ( ) as u64 ,
466466 )
467- . map_err ( |err| io:: Error :: new ( io :: ErrorKind :: Other , err ) )
467+ . map_err ( io:: Error :: other )
468468 }
469469
470470 fn write_vectored ( & mut self , bufs : & [ IoSlice ] ) -> io:: Result < usize > {
@@ -476,7 +476,7 @@ impl Write for ProcessVirtualMemoryIO {
476476 local_io_vectors,
477477 byte_count,
478478 )
479- . map_err ( |err| io:: Error :: new ( io :: ErrorKind :: Other , err ) )
479+ . map_err ( io:: Error :: other )
480480 }
481481
482482 fn flush ( & mut self ) -> io:: Result < ( ) > {
0 commit comments