Skip to content

Commit 070e007

Browse files
committed
Fix SbeToString docstring.
1 parent 66946b8 commit 070e007

File tree

1 file changed

+2
-1
lines changed
  • sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/rust

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ static void generateDecoderTraits(final String schemaVersionType, final Writer w
135135

136136
static void generateSbeToString(final Writer writer) throws IOException
137137
{
138-
indent(writer, 0, "/// Returns a human-readable string representation of the SBE message.\n\n");
138+
indent(writer, 0, "/// Returns a human-readable string representation of the SBE message.\n");
139+
indent(writer, 0, "///\n");
139140
indent(writer, 0, "/// This trait works like `ToString`, but it takes `self` as value\n");
140141
indent(writer, 0, "/// to be compatible with the generated decoders.\n");
141142
indent(writer, 0, "pub trait SbeToString: Sized {\n");

0 commit comments

Comments
 (0)