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() {
86
86
assert_eq ! ( Error :: from( ErrorKind :: NotFound ) . kind( ) , ErrorKind :: NotFound ) ;
87
87
assert_eq ! ( Error :: from( ErrorKind :: PermissionDenied ) . kind( ) , ErrorKind :: PermissionDenied ) ;
88
88
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.
90
90
assert_matches ! (
91
91
Error :: from( ErrorKind :: OutOfMemory ) . repr. data( ) ,
92
92
ErrorData :: Simple ( ErrorKind :: OutOfMemory ) ,
Original file line number Diff line number Diff line change 20
20
//! Since those syscalls have requirements that cannot be fully checked in advance and
21
21
//! gathering additional information about file descriptors would require additional syscalls
22
22
//! 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
24
24
//! does.
25
25
//! Once a working syscall is found for a pair of file descriptors it will be called in a loop
26
26
//! until the copy operation is completed.
You can’t perform that action at this time.
0 commit comments