From af564242e198efc59189701b8ad1fce9a7ecd6c8 Mon Sep 17 00:00:00 2001 From: Valentine Briese Date: Thu, 7 Mar 2024 21:15:52 -0800 Subject: [PATCH] Make comment above `util::fs::remove_matching` a doc comment (#9051) Just this one little thing, noticed it while working on an unrelated pull request. Release Notes: - N/A --- crates/util/src/fs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/util/src/fs.rs b/crates/util/src/fs.rs index c6d562d15c..3bfa0f656a 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(dir: &Path, predicate: F) where F: Fn(&Path) -> bool,