MCPcopy Create free account
hub / github.com/alexfertel/rust-algorithms / stack_push_left

Method stack_push_left

src/data_structures/binary_search_tree.rs:433–437  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

431 }
432
433 fn stack_push_left(&mut self) {
434 while let Some(child) = &self.stack.last().unwrap().left {
435 self.stack.push(child);
436 }
437 }
438}
439
440/// Iterator implementation for BinarySearchTree

Callers 2

newMethod · 0.80
nextMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected