Skip to content

Commit

Permalink
Merge pull request #315 from GoodDaisy/main
Browse files Browse the repository at this point in the history
piecrust: fix typos
  • Loading branch information
Eduardo Leegwater Simões authored Jan 24, 2024
2 parents eadc8b4 + c23b445 commit 61464cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions piecrust/src/call_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl CallTree {
})
}

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

/// An iterator over a [`CallTree`].
///
/// It starts at the righmost node and proceeds leftward towards its siblings,
/// It starts at the rightmost node and proceeds leftward towards its siblings,
/// up toward the root.
struct CallTreeIter<'a> {
tree: Option<Subtree>,
Expand Down

0 comments on commit 61464cf

Please sign in to comment.