MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / is_zero_u32

Function is_zero_u32

crates/openshell-policy/src/lib.rs:161–163  ·  view source on GitHub ↗
(v: &u32)

Source from the content-addressed store, hash-verified

159// Signature dictated by serde's `skip_serializing_if`, which requires `&T`.
160#[allow(clippy::trivially_copy_pass_by_ref)]
161fn is_zero_u32(v: &u32) -> bool {
162 *v == 0
163}
164
165#[derive(Debug, Serialize, Deserialize)]
166#[serde(deny_unknown_fields)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected