about summary refs log tree commit diff
path: root/library/std/src/sys/unix/kernel_copy/tests.rs
diff options
context:
space:
mode:
authorThe8472 <git@infinite-source.de>2020-12-02 23:35:40 +0100
committerThe8472 <git@infinite-source.de>2020-12-03 00:02:01 +0100
commita9b1381b8dd0704966a5c2ab7e4ca0ff96d05a18 (patch)
tree10f207747b37b100d9fa8ce6d4bac0c69bd363c1 /library/std/src/sys/unix/kernel_copy/tests.rs
parent9b390e73db26f17415dfeab2e49f13f04ad2474b (diff)
downloadrust-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.rs2
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
         }
         _ => {