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

Function default

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

Source from the content-addressed store, hash-verified

720
721 #[test]
722 fn default() {
723 assert!(NONE.ct_eq(&CtOption::default()).to_bool());
724 }
725
726 #[test]
727 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