From 3d7b8956c11eeef81ea88d1e94c3690a1d3bda1e Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Wed, 16 Apr 2025 11:52:23 +0300 Subject: fix(zkvms/zkwasm): Explicit type in argument In certain cases, we would get errors that the "x" type cannot be inferred. --- zkvms/zkwasm/host/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zkvms') diff --git a/zkvms/zkwasm/host/src/main.rs b/zkvms/zkwasm/host/src/main.rs index d04938a..288c3a5 100644 --- a/zkvms/zkwasm/host/src/main.rs +++ b/zkvms/zkwasm/host/src/main.rs @@ -28,7 +28,7 @@ macro_rules! build_input { } let bytes = all .into_iter() - .map(|x| x.to_be_bytes()) + .map(|x: u64| x.to_be_bytes()) .flatten() .collect::>(); std::fs::write($path, bytes); -- cgit v1.2.3