Skip to content

Commit

Permalink
mojo format
Browse files Browse the repository at this point in the history
Signed-off-by: martinvuyk <[email protected]>
  • Loading branch information
martinvuyk committed Sep 24, 2024
1 parent d049d32 commit a3ddffb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stdlib/src/collections/string.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -2036,7 +2036,7 @@ struct String(
Returns:
The template with the given values substituted.
"""

var res: String = ""
alias num_pos_args = len(VariadicList(Ts))
var entries = _FormatCurlyEntry.create_entries(self, num_pos_args)
Expand Down Expand Up @@ -2464,7 +2464,8 @@ struct _FormatCurlyEntry(CollectionElement, CollectionElementNew):
first_curly=start_value,
last_curly=i,
field=NoneType(),
conversion_flag=0,""
conversion_flag=0,
"",
)

if i - start_value != 1:
Expand Down

0 comments on commit a3ddffb

Please sign in to comment.