From de881ce526c9a16719c8126e30fc7a300d54d3da Mon Sep 17 00:00:00 2001 From: Jed Date: Sun, 21 Jun 2026 19:25:29 +0200 Subject: [PATCH] feat: removes comments --- yazi-plugin/src/external/rg.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/yazi-plugin/src/external/rg.rs b/yazi-plugin/src/external/rg.rs index 99651ff2..5bc3465f 100644 --- a/yazi-plugin/src/external/rg.rs +++ b/yazi-plugin/src/external/rg.rs @@ -1,7 +1,11 @@ use std::{fmt::format, process::Stdio}; use anyhow::Result; -use tokio::{io::{AsyncBufReadExt, BufReader}, process::Command, sync::mpsc::{self, UnboundedReceiver}}; +use tokio::{ + io::{AsyncBufReadExt, BufReader}, + process::Command, + sync::mpsc::{self, UnboundedReceiver}, +}; use yazi_fs::{FsUrl, file::File}; use yazi_shared::url::{AsUrl, UrlBuf, UrlLike}; use yazi_vfs::VfsFile; @@ -29,8 +33,6 @@ pub fn rg(opt: RgOpt) -> Result> { let (tx, rx) = mpsc::unbounded_channel(); tokio::spawn(async move { - // let mut occurrences_per_file: HashMap> = HashMap::new(); - // let mut current_file_path: String = String::new(); let mut current_file: String = String::new(); let mut current_occurrences: Vec<(u32, u32)> = vec![];