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

Method from_u64_lt

ctutils/src/choice.rs:252–254  ·  view source on GitHub ↗
(x: u64, y: u64)

Source from the content-addressed store, hash-verified

250 #[inline]
251 #[must_use]
252 pub const fn from_u64_lt(x: u64, y: u64) -> Self {
253 crate::primitives::lt_u64(x, y)
254 }
255
256 /// Returns [`Choice::TRUE`] if `value != 0`, and [`Choice::FALSE`] otherwise.
257 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected