We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3fb6f8 commit 525a043Copy full SHA for 525a043
src/libcore/benches/ascii_case.rs renamed to src/libcore/benches/ascii.rs
@@ -84,6 +84,12 @@ benches! {
84
}
85
86
87
+ fn bench05_multiply_by_bool(bytes: &mut [u8]) {
88
+ for byte in bytes {
89
+ *byte &= !(0x20 * (b'a' <= *byte && *byte <= b'z') as u8)
90
+ }
91
92
+
93
fn bench06_libcore(bytes: &mut [u8]) {
94
bytes.make_ascii_uppercase()
95
src/libcore/benches/lib.rs
@@ -5,7 +5,7 @@ extern crate core;
5
extern crate test;
6
7
mod any;
8
-mod ascii_case;
+mod ascii;
9
mod char;
10
mod hash;
11
mod iter;
0 commit comments