File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ fn test_errorkind_packing() {
8686 assert_eq ! ( Error :: from( ErrorKind :: NotFound ) . kind( ) , ErrorKind :: NotFound ) ;
8787 assert_eq ! ( Error :: from( ErrorKind :: PermissionDenied ) . kind( ) , ErrorKind :: PermissionDenied ) ;
8888 assert_eq ! ( Error :: from( ErrorKind :: Uncategorized ) . kind( ) , ErrorKind :: Uncategorized ) ;
89- // Check that the innards look like like what we want.
89+ // Check that the innards look like what we want.
9090 assert_matches ! (
9191 Error :: from( ErrorKind :: OutOfMemory ) . repr. data( ) ,
9292 ErrorData :: Simple ( ErrorKind :: OutOfMemory ) ,
Original file line number Diff line number Diff line change 2020//! Since those syscalls have requirements that cannot be fully checked in advance and
2121//! gathering additional information about file descriptors would require additional syscalls
2222//! anyway it simply attempts to use them one after another (guided by inaccurate hints) to
23- //! figure out which one works and and falls back to the generic read-write copy loop if none of them
23+ //! figure out which one works and falls back to the generic read-write copy loop if none of them
2424//! does.
2525//! Once a working syscall is found for a pair of file descriptors it will be called in a loop
2626//! until the copy operation is completed.
You can’t perform that action at this time.
0 commit comments