Unverified Commit db35a04d authored by Alexandru Vasile's avatar Alexandru Vasile
Browse files

Fix clippy



Signed-off-by: default avatarAlexandru Vasile <alexandru.vasile@parity.io>
parent 60859061
Pipeline #202774 passed with stages
in 4 minutes and 42 seconds
......@@ -334,7 +334,7 @@ fn http_custom_headers_round_trip(
/// Bench WS handshake with different header sizes.
fn ws_custom_headers_handshake(rt: &TokioRuntime, crit: &mut Criterion, url: &str, name: &str, request: RequestType) {
let mut group = crit.benchmark_group(request.group_name(name));
for header_size in [0 * KIB, 1 * KIB, 2 * KIB, 4 * KIB] {
for header_size in [0, 1 * KIB, 2 * KIB, 4 * KIB] {
group.bench_function(format!("{}", header_size), |b| {
b.to_async(rt).iter(|| async move {
let mut headers = HeaderMap::new();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment