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.
This commit is contained in:
Thalia Archibald
2025-03-05 18:14:07 -08:00
parent 30f168ef81
commit 638b226a6a
34 changed files with 90 additions and 127 deletions

View File

@@ -1,6 +1,5 @@
use crate::ascii;
#[cfg(not(test))]
impl<const N: usize> [u8; N] {
/// Converts this array of bytes into an array of ASCII characters,
/// or returns `None` if any of the characters is non-ASCII.