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

Function default

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

Source from the content-addressed store, hash-verified

722
723 #[test]
724 fn default() {
725 assert!(NONE.ct_eq(&CtOption::default()).to_bool());
726 }
727
728 #[test]
729 fn expect_some() {

Callers 15

keccak_testFunction · 0.85
defaultMethod · 0.85
defaultMethod · 0.85
try_newMethod · 0.85
pad_with_zerosMethod · 0.85
serializeMethod · 0.85
deserializeMethod · 0.85
test_eager_digestFunction · 0.85
test_lazy_digestFunction · 0.85
digest_pad_combinationsFunction · 0.85
test_readFunction · 0.85
test_eager_serializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected