Skip to content

Commit

Permalink
Rename src/libcore/benches/ascii_case.rs to ascii.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSapin committed Mar 18, 2019
1 parent e3fb6f8 commit 525a043
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -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()
}
Expand Down
2 changes: 1 addition & 1 deletion src/libcore/benches/lib.rs
Expand Up @@ -5,7 +5,7 @@ extern crate core;
extern crate test;

mod any;
mod ascii_case;
mod ascii;
mod char;
mod hash;
mod iter;
Expand Down

0 comments on commit 525a043

Please sign in to comment.