MCPcopy Create free account
hub / github.com/RustCrypto/utils / expect_some

Function expect_some

ctutils/src/ct_option.rs:727–729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

725
726 #[test]
727 fn expect_some() {
728 assert_eq!(SOME.expect("should succeed"), VALUE);
729 }
730
731 #[test]
732 #[should_panic]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected