Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ expect_some
Function
expect_some
ctutils/src/ct_option.rs:729–731 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
727
728
#[test]
729
fn expect_some() {
730
assert_eq!(SOME.expect(
"should succeed"
), VALUE);
731
}
732
733
#[test]
734
#[should_panic]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected