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:
parent
aa7be4b5d8
commit
af564242e1
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ use smol::{fs, stream::StreamExt};
|
||||||
|
|
||||||
use crate::ResultExt;
|
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)
|
pub async fn remove_matching<F>(dir: &Path, predicate: F)
|
||||||
where
|
where
|
||||||
F: Fn(&Path) -> bool,
|
F: Fn(&Path) -> bool,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue