chore: remove unused required_i32_to_u64 function

cc
This commit is contained in:
victorrhgap committed 2026-03-31 11:09:32 -06:00
1 parent 4e526b1ae5
commit 016b0f6166
1 file changed
-7
-7
View File
@@ -1015,13 +1015,6 @@ fn queue_version_opt(
Ok(Some(QueueVersion::new(major, minor)))
}
fn required_i32_to_u64(value: Option<i32>, field_name: &str) -> Result<u64, ProtocolError> {
let raw = value.ok_or_else(|| {
ProtocolError::InvalidPayload(format!("missing required numeric field '{field_name}'"))
})?;
i32_to_u64(raw)
}
fn optional_i32_to_u64_named(
value: Option<i32>,
field_name: &str,