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
This commit is contained in:
Valentine Briese 2024-03-07 21:15:52 -08:00 committed by GitHub
parent aa7be4b5d8
commit af564242e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,