Skip to content

Commit

Permalink
Fix CI bug with best_speed_log
Browse files Browse the repository at this point in the history
Apparently `best_speed_log` was never tested - it does not compile due to a missing format placeholder. I think this is what it meant, but feel free to fix it in other way (or delete entirely?)
  • Loading branch information
nyurik committed May 20, 2024
1 parent c35494b commit 6ede07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/enc/brotli_bit_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ fn best_speed_log(_name: &str, _data: &[SpeedAndMax; 2], _cost: &[floatX; 2]) {}
fn best_speed_log(name: &str, data: &[SpeedAndMax; 2], cost: &[floatX; 2]) {
for high in 0..2 {
println!(
"{} Speed [ inc: {}, max: {}, algo: 0 ] cost: {}",
"{} Speed [ inc: {}, max: {}, algo: {} ] cost: {}",
name,
if high != 0 { "hi" } else { "lo" },
data[high].0,
Expand Down

0 comments on commit 6ede07c

Please sign in to comment.