Skip to content

Commit 8eadca8

Browse files
author
Vadim Platonov
committed
[Rust] Fix Checkstyle errors
1 parent dc55547 commit 8eadca8

File tree

3 files changed

+99
-71
lines changed

3 files changed

+99
-71
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust/RustCodecType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void appendDirectCodeMethods(
5454
if (trailingBytes > 0)
5555
{
5656
indent(appendable, 2, "self.%s.skip_bytes(%s)?;\n",
57-
RustCodecType.Decoder.scratchProperty(), trailingBytes);
57+
RustCodecType.Decoder.scratchProperty(), trailingBytes);
5858
}
5959
indent(appendable, 2, "Ok((v, %s::wrap(self.%s)))\n",
6060
nextCoderType, RustCodecType.Decoder.scratchProperty());
@@ -112,7 +112,7 @@ void appendDirectCodeMethods(
112112
{
113113
indent(appendable, 2, "// fixed message length > sum of field lengths\n");
114114
indent(appendable, 2, "self.%s.skip_bytes(%s)?;\n",
115-
RustCodecType.Decoder.scratchProperty(), trailingBytes);
115+
RustCodecType.Decoder.scratchProperty(), trailingBytes);
116116
}
117117
indent(appendable, 2).append(format("Ok(%s::wrap(self.%s))\n",
118118
nextCoderType, RustCodecType.Encoder.scratchProperty()));

0 commit comments

Comments
 (0)