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

Function not

ctutils/src/choice.rs:704–707  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

702
703 #[test]
704 fn not() {
705 assert_eq!(Choice::FALSE.not().to_u8(), 1);
706 assert_eq!(Choice::TRUE.not().to_u8(), 0);
707 }
708
709 #[test]
710 fn from_i64_eq() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected