diff options
| author | The8472 <git@infinite-source.de> | 2020-12-02 23:35:40 +0100 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2020-12-03 00:02:01 +0100 |
| commit | a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18 (patch) | |
| tree | 10f207747b37b100d9fa8ce6d4bac0c69bd363c1 /library/std/src/sys/unix/kernel_copy/tests.rs | |
| parent | 9b390e73db26f17415dfeab2e49f13f04ad2474b (diff) | |
| download | rust-a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18.tar.gz rust-a9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18.zip | |
fix copy specialization not updating Take wrappers
Diffstat (limited to 'library/std/src/sys/unix/kernel_copy/tests.rs')
| -rw-r--r-- | library/std/src/sys/unix/kernel_copy/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/kernel_copy/tests.rs b/library/std/src/sys/unix/kernel_copy/tests.rs index 79e99382591..3937a1ffa38 100644 --- a/library/std/src/sys/unix/kernel_copy/tests.rs +++ b/library/std/src/sys/unix/kernel_copy/tests.rs @@ -217,7 +217,7 @@ fn bench_socket_pipe_socket_copy(b: &mut test::Bencher) { ); match probe { - CopyResult::Ended(Ok(1)) => { + CopyResult::Ended(1) => { // splice works } _ => { |
