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:735–737 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
733
#[test]
734
#[should_panic]
735
fn expect_none() {
736
let _ = NONE.expect(
"should panic"
);
737
}
738
739
#[test]
740
fn into_option() {
Callers
nothing calls this directly
Calls
1
expect
Method · 0.80
Tested by
no test coverage detected