Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ index
Method
index
crates/codegen/src/ir.rs:78–80 ·
view source on GitHub ↗
(&self, idx: BlockIdx)
Source
from the content-addressed store, hash-verified
76
type Output = Block;
77
78
fn index(&self, idx: BlockIdx) -> &Block {
79
&self[idx.idx()]
80
}
81
}
82
83
impl ops::IndexMut<BlockIdx> for [Block] {
Callers
nothing calls this directly
Calls
1
idx
Method · 0.80
Tested by
no test coverage detected