Skip to content

Commit

Permalink
merged_tree: slightly adjust doc comment of inner trees() helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed Nov 30, 2024
1 parent fb670d4 commit c852cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/merged_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c852cd6

Please sign in to comment.