about summary refs log tree commit diff
path: root/src/libstd/sys/wasm
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/wasm
parent885011ef1fd8fbe8c5be50a0713c03c980772be3 (diff)
parent4ef6847d4df609054caca328b69b4ee5335426ae (diff)
Auto merge of #46713 - Manishearth:memchr, r=bluss
Use memchr to speed up [u8]::contains 3x

None
Diffstat (limited to 'src/libstd/sys/wasm')
-rw-r--r--src/libstd/sys/wasm/memchr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/wasm/memchr.rs b/src/libstd/sys/wasm/memchr.rs
index e611d94af30..964e3599413 100644
--- a/src/libstd/sys/wasm/memchr.rs
+++ b/src/libstd/sys/wasm/memchr.rs
@@ -8,4 +8,4 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-pub use sys_common::memchr::fallback::{memchr, memrchr};
+pub use core::slice::memchr::{memchr, memrchr};