mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
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
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user