Skip to content

Commit

Permalink
[Rust] Indicate the anonymous lifetime in set's Display impl. (#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
gierlachg authored Sep 1, 2024
1 parent bb984d4 commit e0846a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ private static void generateSingleBitSet(

indent(writer, 0, "impl core::fmt::Debug for %s {\n", bitSetType);
indent(writer, 1, "#[inline]\n");
indent(writer, 1, "fn fmt(&self, fmt: &mut core::fmt::Formatter) -> core::fmt::Result {\n");
indent(writer, 1, "fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {\n");
indent(writer, 2, "write!(fmt, \"%s[", bitSetType);

final StringBuilder builder = new StringBuilder();
Expand Down

0 comments on commit e0846a8

Please sign in to comment.