Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make comment above `util::fs::remove_matching` a doc comment (#9051)
Valentine Brieseaf564242e198
diff --git a/crates/util/src/fs.rs b/crates/util/src/fs.rsindex c6d562d15cc..3bfa0f656a6 100644--- a/crates/util/src/fs.rs+++ b/crates/util/src/fs.rs@@ -4,7 +4,7 @@ use smol::{fs, stream::StreamExt};use crate::ResultExt;-// Removes all files and directories matching the given predicate+/// Removes all files and directories matching the given predicatepub async fn remove_matching<F>(dir: &Path, predicate: F)whereF: Fn(&Path) -> bool,