From 0ca6f00421f6f893e974e0f5349e126abd41a812 Mon Sep 17 00:00:00 2001 From: Yuya Nishihara 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, 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, dir: RepoPathBuf,