From c852cd6b5a41bba0fb4ef8e7cdc23c6206bb5b35 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara <yuya@tcha.org> Date: Sat, 30 Nov 2024 10:05:05 +0900 Subject: [PATCH] merged_tree: slightly adjust doc comment of inner trees() helpers --- lib/src/merged_tree.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/merged_tree.rs b/lib/src/merged_tree.rs index 4b2e0318b4..b672118f92 100644 --- a/lib/src/merged_tree.rs +++ b/lib/src/merged_tree.rs @@ -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( store: &Arc<Store>, 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( store: Arc<Store>, dir: RepoPathBuf,