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

Function into_option_copied

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

Source from the content-addressed store, hash-verified

742
743 #[test]
744 fn into_option_copied() {
745 assert_eq!(SOME.into_option_copied(), Some(VALUE));
746 assert_eq!(NONE.into_option_copied(), None);
747 }
748
749 #[test]
750 fn is_some() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected