Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ expect_none
Function
expect_none
ctutils/src/ct_option.rs:733–735 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
731
#[test]
732
#[should_panic]
733
fn expect_none() {
734
let _ = NONE.expect(
"should panic"
);
735
}
736
737
#[test]
738
fn into_option() {
Callers
nothing calls this directly
Calls
1
expect
Method · 0.80
Tested by
no test coverage detected