Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitflags/bitflags
/ parse_flags_1_10_hex
Function
parse_flags_1_10_hex
benches/parse.rs:91–96 ·
view source on GitHub ↗
(b: &mut test::Bencher)
Source
from the content-addressed store, hash-verified
89
90
#[bench]
91
fn parse_flags_1_10_hex(b: &mut test::Bencher) {
92
b.iter(|| {
93
let flags: Flags10 =
"0xFF"
.parse().unwrap();
94
flags
95
})
96
}
Callers
nothing calls this directly
Calls
1
iter
Method · 0.80
Tested by
no test coverage detected