From 6a0f418082eb5831ef40964e0798de2e0754a1a6 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 10 Oct 2021 14:09:03 +0300 Subject: chore: drop debug eprintln! calls They're not useful now. Should probably add logging, but that will have to wait until we have a good logging story. Sponsored-by: author --- src/index.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/index.rs b/src/index.rs index 8cbe01e..5d31068 100644 --- a/src/index.rs +++ b/src/index.rs @@ -214,7 +214,6 @@ mod sql { for meta in iter { let meta = meta?; if metas.is_empty() { - eprintln!("lookup: meta={:?}", meta); metas.push(meta); } else { let err = IndexError::DuplicateChunk(id.clone()); @@ -223,7 +222,6 @@ mod sql { } } if metas.is_empty() { - eprintln!("lookup: no hits"); return Err(IndexError::MissingChunk(id.clone())); } let r = metas[0].clone(); -- cgit v1.2.1