Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ has_key
Method
has_key
crates/common/src/cformat.rs:729–734 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
727
728
#[inline]
729
pub const fn has_key(&self) -> bool {
730
match self {
731
Self::Spec(s) => s.mapping_key.is_some(),
732
_ => false,
733
}
734
}
735
}
736
737
#[derive(Debug, PartialEq)]
Callers
1
check_specifiers
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected