Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ clear
Method
clear
crates/sre_engine/src/engine.rs:110–114 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
108
}
109
110
fn clear(&mut self) {
111
self.last_index = -1;
112
self.marks.clear();
113
self.marks_stack.clear();
114
}
115
}
116
117
#[derive(Debug, Default)]
Callers
3
reset
Method · 0.45
search_info_literal
Function · 0.45
search_info_charset
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected