Skip to content

armgit / zed

Public Imported from GitHub
0

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.rs
index 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 predicate
pub async fn remove_matching<F>(dir: &Path, predicate: F)
where
F: Fn(&Path) -> bool,