Skip to content
Permalink
Browse files

Rename src/libcore/benches/ascii_case.rs to ascii.rs

  • Loading branch information...
SimonSapin committed Mar 18, 2019
1 parent e3fb6f8 commit 525a043c6bc8a220b7dbdde3eb10bb79f8e99506
Showing with 7 additions and 1 deletion.
  1. +6 −0 src/libcore/benches/{ascii_case.rs → ascii.rs}
  2. +1 −1 src/libcore/benches/lib.rs
@@ -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;

0 comments on commit 525a043

Please sign in to comment.
You can’t perform that action at this time.