Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeSentryAI/lockbud
/ is_index
Function
is_index
src/interest/memory/ownership.rs:46–48 ·
view source on GitHub ↗
(def_id: DefId, tcx: TyCtxt<'_>)
Source
from the content-addressed store, hash-verified
44
/// z = <_ as Index<_>>::index(x, y)
45
#[inline]
46
pub fn is_index(def_id: DefId, tcx: TyCtxt<'_>) -> bool {
47
tcx.def_path_str(def_id).ends_with(
"::index"
)
48
}
Callers
1
visit_terminator
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected