MCPcopy Index your code
hub / github.com/RustPython/RustPython / pop

Method pop

crates/sre_engine/src/engine.rs:94–98  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

92 }
93
94 fn pop(&mut self) {
95 let (marks, last_index) = self.marks_stack.pop().unwrap();
96 self.marks = marks;
97 self.last_index = last_index;
98 }
99
100 fn pop_keep(&mut self) {
101 let (marks, last_index) = self.marks_stack.last().unwrap().clone();

Callers 2

pop_discardMethod · 0.45
_matchFunction · 0.45

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected