about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-20 17:56:46 +0200
committerGitHub <noreply@github.com>2021-05-20 17:56:46 +0200
commit0d3bee8be03e58cfe0295a775961a4daa2ea2fd1 (patch)
tree7bbf034849d62e31e35417daabc14711e74bff02 /library/std/src/lib.rs
parent8a57820bca64a252489790a57cb5ea23db6f9198 (diff)
parent5353c5c3fb7ebc4fb12ca3488c555ee3006c8325 (diff)
Rollup merge of #85275 - CDirkx:memchr, r=m-ou-se
Move `std::memchr` to `sys_common`

`std::memchr` is a thin abstraction over the different `memchr` implementations in `sys`, along with documentation and tests. The module is only used internally by `std`, nothing is exported externally. Code like this is exactly what the `sys_common` module is for, so this PR moves it there.
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 6d11698d268..442b5628d1d 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -530,7 +530,6 @@ mod sys;
 pub mod alloc;
 
 // Private support modules
-mod memchr;
 mod panicking;
 
 // The runtime entry point and a few unstable public functions used by the