From eadf921589f5ce95966fe518c1dfbd32cba93592 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 5 Aug 2023 07:30:33 +0100 Subject: [PATCH] remove stray println commands (#11) Reviewed-on: https://git.kemitix.net/kemitix/podal/pulls/11 Co-authored-by: Paul Campbell Co-committed-by: Paul Campbell --- src/history/find.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/history/find.rs b/src/history/find.rs index b413925..720b62b 100644 --- a/src/history/find.rs +++ b/src/history/find.rs @@ -5,14 +5,11 @@ use std::io::{BufRead, BufReader}; use super::Link; pub fn find(link: &Link, file_name: &str, e: &FileEnv) -> Result { - println!("Opening file: {file_name}"); let file = (e.open)(file_name)?; - println!("Opened file: {file_name}"); let reader = BufReader::new(file); for line in reader.lines() { let line = line?; if line == link.href { - println!("history: {}", line); return Ok(true); // is already downloaded } }