merged_tree: slightly adjust doc comment of inner trees() helpers

This commit is contained in:
Yuya Nishihara 2024-11-30 10:05:05 +09:00
parent 4931b2ba04
commit 0ca6f00421

View file

@ -717,7 +717,7 @@ impl<'matcher> TreeDiffIterator<'matcher> {
} }
} }
/// Gets the given tree if `value` is a tree, otherwise an empty tree. /// Gets the given trees if `values` are trees, otherwise an empty tree.
fn trees( fn trees(
store: &Arc<Store>, store: &Arc<Store>,
dir: &RepoPath, dir: &RepoPath,
@ -951,7 +951,7 @@ impl<'matcher> TreeDiffStreamImpl<'matcher> {
} }
} }
/// Gets the given tree if `value` is a tree, otherwise an empty tree. /// Gets the given trees if `values` are trees, otherwise an empty tree.
async fn trees( async fn trees(
store: Arc<Store>, store: Arc<Store>,
dir: RepoPathBuf, dir: RepoPathBuf,