about summary refs log tree commit diff
path: root/src/libstd/sys/windows
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-12-31 16:38:10 +0000
committerbors <bors@rust-lang.org>2017-12-31 16:38:10 +0000
commit8c5941896248802d57e73a1fc9adbca5869f1fa1 (patch)
treedd9cbcbdcaf84e0bde5801fdb5b09b0a03d02041 /src/libstd/sys/windows
parent885011ef1fd8fbe8c5be50a0713c03c980772be3 (diff)
parent4ef6847d4df609054caca328b69b4ee5335426ae (diff)
downloadrust-8c5941896248802d57e73a1fc9adbca5869f1fa1.tar.gz
rust-8c5941896248802d57e73a1fc9adbca5869f1fa1.zip
Auto merge of #46713 - Manishearth:memchr, r=bluss
Use memchr to speed up [u8]::contains 3x

None
Diffstat (limited to 'src/libstd/sys/windows')
-rw-r--r--src/libstd/sys/windows/memchr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/memchr.rs b/src/libstd/sys/windows/memchr.rs
index 5a5386acaa5..fa7c816fd02 100644
--- a/src/libstd/sys/windows/memchr.rs
+++ b/src/libstd/sys/windows/memchr.rs
@@ -12,4 +12,4 @@
 // Copyright 2015 Andrew Gallant, bluss and Nicolas Koch
 
 // Fallback memchr is fastest on windows
-pub use sys_common::memchr::fallback::{memchr, memrchr};
+pub use core::slice::memchr::{memchr, memrchr};