Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ from_u64_nz
Method
from_u64_nz
ctutils/src/choice.rs:259–261 ·
view source on GitHub ↗
(value: u64)
Source
from the content-addressed store, hash-verified
257
#[inline]
258
#[must_use]
259
pub const fn from_u64_nz(value: u64) -> Self {
260
crate::primitives::nz_u64(value)
261
}
262
263
// u128
264
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected