Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidblewett/rure-python
/ index
Method
index
regex/src/re_unicode.rs:1017–1020 ·
view source on GitHub ↗
(&self, i: usize)
Source
from the content-addressed store, hash-verified
1015
type Output = str;
1016
1017
fn index(&self, i: usize) -> &str {
1018
self.get(i).map(|m| m.as_str())
1019
.unwrap_or_else(|| panic!(
"no group at index '{}'"
, i))
1020
}
1021
}
1022
1023
/// Get a group by name.
Callers
nothing calls this directly
Calls
4
map
Method · 0.80
get
Method · 0.45
as_str
Method · 0.45
name
Method · 0.45
Tested by
no test coverage detected