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

Function into_option

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

Source from the content-addressed store, hash-verified

736
737 #[test]
738 fn into_option() {
739 assert_eq!(SOME.into_option(), Some(VALUE));
740 assert_eq!(NONE.into_option(), None);
741 }
742
743 #[test]
744 fn into_option_copied() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected