diff options
| author | bors <bors@rust-lang.org> | 2017-12-31 16:38:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-12-31 16:38:10 +0000 |
| commit | 8c5941896248802d57e73a1fc9adbca5869f1fa1 (patch) | |
| tree | dd9cbcbdcaf84e0bde5801fdb5b09b0a03d02041 /src/libstd/sys/windows | |
| parent | 885011ef1fd8fbe8c5be50a0713c03c980772be3 (diff) | |
| parent | 4ef6847d4df609054caca328b69b4ee5335426ae (diff) | |
| download | rust-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.rs | 2 |
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}; |
