Rename src/libcore/benches/ascii_case.rs to ascii.rs
This commit is contained in:
parent
e3fb6f89fe
commit
525a043c6b
2 changed files with 7 additions and 1 deletions
|
|
@ -84,6 +84,12 @@ benches! {
|
|||
}
|
||||
}
|
||||
|
||||
fn bench05_multiply_by_bool(bytes: &mut [u8]) {
|
||||
for byte in bytes {
|
||||
*byte &= !(0x20 * (b'a' <= *byte && *byte <= b'z') as u8)
|
||||
}
|
||||
}
|
||||
|
||||
fn bench06_libcore(bytes: &mut [u8]) {
|
||||
bytes.make_ascii_uppercase()
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@ extern crate core;
|
|||
extern crate test;
|
||||
|
||||
mod any;
|
||||
mod ascii_case;
|
||||
mod ascii;
|
||||
mod char;
|
||||
mod hash;
|
||||
mod iter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue