Upgrade indicatif to 0.16

This commit is contained in:
Dirkjan Ochtman 2021-04-30 10:13:10 +02:00
parent 331ac9464e
commit 8902b5b766
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ readme = "../README.md"
with-serde = ["serde", "serde-big-array"]
[dependencies]
indicatif = { version = "0.15", optional = true }
indicatif = { version = "0.16", optional = true }
num_cpus = "1.13"
ordered-float = "2.0"
parking_lot = "0.11"

View File

@ -245,7 +245,7 @@ where
let num = if layer.is_zero() { M * 2 } else { M };
#[cfg(feature = "indicatif")]
if let Some(bar) = &progress {
bar.set_message(&format!("Building index (layer {})", layer.0));
bar.set_message(format!("Building index (layer {})", layer.0));
}
let end = range.end;