Skip to content

Commit 61464cf

Browse files
author
Eduardo Leegwater Simões
authored
Merge pull request #315 from GoodDaisy/main
piecrust: fix typos
2 parents eadc8b4 + c23b445 commit 61464cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

piecrust/src/call_tree.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl CallTree {
7676
})
7777
}
7878

79-
/// Give the current node the amount spent and recusively update amount
79+
/// Give the current node the amount spent and recursively update amount
8080
/// spent to accurately reflect what each node spent during each call.
8181
pub(crate) fn update_spent(&mut self, spent: u64) {
8282
if let Some(inner) = self.0 {
@@ -192,7 +192,7 @@ impl CallTreeNode {
192192

193193
/// An iterator over a [`CallTree`].
194194
///
195-
/// It starts at the righmost node and proceeds leftward towards its siblings,
195+
/// It starts at the rightmost node and proceeds leftward towards its siblings,
196196
/// up toward the root.
197197
struct CallTreeIter<'a> {
198198
tree: Option<Subtree>,

0 commit comments

Comments
 (0)