mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-24 19:35:57 +00:00
fix clippy
This commit is contained in:
parent
9a0b6138b5
commit
8c9d159124
2 changed files with 2 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
|||
#![expect(dead_code, reason = "code hidden behind feature flags")]
|
||||
|
||||
use cfg_if::cfg_if;
|
||||
|
||||
use crate::timings::Timings;
|
||||
|
@ -30,7 +32,6 @@ pub(crate) fn print_timings_markdown(timings: &Timings) {
|
|||
}
|
||||
|
||||
/// Enabled via `json` feature.
|
||||
#[expect(dead_code)]
|
||||
pub(crate) fn print_timings_json(timings: &Timings) {
|
||||
let json = serde_json::to_string_pretty(timings).unwrap();
|
||||
println!("\n{json}");
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
use std::io::Write;
|
||||
|
||||
use tracing::{info, instrument, trace};
|
||||
|
||||
use cuprate_benchmark_lib::Benchmark;
|
||||
|
|
Loading…
Reference in a new issue