rust/library/core/src/str
许杰友 Jieyou Xu (Joe) e0846806db
Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc
Remove `#[cfg(not(test))]` gates in `core`

These gates are unnecessary now that unit tests for `core` are in a separate package, `coretests`, instead of in the same files as the source code. They previously prevented the two `core` versions from conflicting with each other.
2025-03-16 09:40:05 +08:00
..
converts.rs Stabilize core::str::from_utf8_mut 2025-02-23 15:16:26 +01:00
count.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
error.rs add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
iter.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lossy.rs chore: fix typos 2024-12-24 23:37:30 +08:00
mod.rs Remove #[cfg(not(test))] gates in core 2025-03-06 13:21:59 -08:00
pattern.rs add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants 2025-02-16 21:08:38 +08:00
traits.rs remove const_slice_index annotations, it never had a feature gate anyway 2024-09-08 23:08:43 +02:00
validations.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00