fix: Adjust tests

This commit is contained in:
2023-10-24 23:59:35 +02:00
parent d0d839ea0e
commit 282a07dbec
2 changed files with 1 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ impl Rustysearch {
/// version of ``rustysearch`` & zero docs (used in scoring).
///
pub fn read_stats(&self) -> std::io::Result<Stats> {
let mut stats: Stats;
let stats: Stats;
if !Path::new(&self.stats_path).exists() {
stats = Stats {