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

Method from_u32_lt

ctutils/src/choice.rs:215–217  ·  view source on GitHub ↗
(x: u32, y: u32)

Source from the content-addressed store, hash-verified

213 #[inline]
214 #[must_use]
215 pub const fn from_u32_lt(x: u32, y: u32) -> Self {
216 crate::primitives::lt_u32(x, y)
217 }
218
219 /// Returns [`Choice::TRUE`] if `value != 0`, and [`Choice::FALSE`] otherwise.
220 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected