From 5b27775d6b3bf8730b8f015a20e17de38bb88f67 Mon Sep 17 00:00:00 2001 From: Michael Ward Date: Tue, 24 Dec 2024 09:18:18 -0600 Subject: [PATCH] removed unused format argument --- .../uk/co/real_logic/sbe/generation/rust/RustGenerator.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java index 0efc5f97f..d56c680d2 100644 --- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java +++ b/sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustGenerator.java @@ -459,8 +459,7 @@ private static void generatePrimitiveArrayEncoder( if (primitiveType.size() == 1) { - indent(sb, level + 1, "buf.put_%s_at(offset + index, value);\n", - rustPrimitiveType, primitiveType.size()); + indent(sb, level + 1, "buf.put_%s_at(offset + index, value);\n", rustPrimitiveType); } else {