From b0441f4fc4c63d30dae55cc7727bafb86bd5b5e1 Mon Sep 17 00:00:00 2001 From: Tarek Date: Tue, 6 Aug 2024 17:59:11 +0300 Subject: [PATCH] I hate rust analyzer on vs-code Signed-off-by: Tarek --- fs-index/src/index.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs-index/src/index.rs b/fs-index/src/index.rs index 378e10cb..1e028eba 100644 --- a/fs-index/src/index.rs +++ b/fs-index/src/index.rs @@ -278,7 +278,7 @@ impl ResourceIndex { for entry in fs::read_dir(root_path.as_ref())? { let entry = entry?; let path = entry.path(); - printl!("Found file: {:?}", path); + println!("Found file: {:?}", path); } let root_path = root_path.as_ref(); @@ -289,7 +289,7 @@ impl ResourceIndex { for entry in fs::read_dir(&root_path)? { let entry = entry?; let path = entry.path(); - printl!("Found file: {:?}", path); + println!("Found file: {:?}", path); } let mut id_to_paths: HashMap> = HashMap::new(); @@ -299,14 +299,14 @@ impl ResourceIndex { let paths = discover_paths(&root_path)?; // Print discovered paths for path in &paths { - printl!("Discovered path: {:?}", path); + println!("Discovered path: {:?}", path); } let entries: HashMap> = scan_entries(&root_path, paths); // Print entries for (path, id) in &entries { - printl!("Found entry: {:?} -> {:?}", path, id); + println!("Found entry: {:?} -> {:?}", path, id); } // Strip the root path from the entries