about summary refs log tree commit diff
path: root/src/libcoretest/slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcoretest/slice.rs')
-rw-r--r--src/libcoretest/slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoretest/slice.rs b/src/libcoretest/slice.rs
index 29253c50ed0..987da903211 100644
--- a/src/libcoretest/slice.rs
+++ b/src/libcoretest/slice.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-use std::slice::{Found, NotFound};
+use std::slice::BinarySearchResult::{Found, NotFound};
 
 #[test]
 fn binary_search_not_found() {