Skip to content

Commit

Permalink
str -> String
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua James Venter <[email protected]>
  • Loading branch information
jjvraw committed Jan 16, 2025
1 parent 72c36db commit e4cb52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/src/collections/string/string.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ fn stol(str_slice: StringSlice, base: Int = 10) raises -> (Int, String):
real_base = base

if real_base <= 10:
ord_num_max = ord(str(real_base - 1))
ord_num_max = ord(String(real_base - 1))
else:
ord_num_max = ord("9")
ord_letter_max = (
Expand Down

0 comments on commit e4cb52b

Please sign in to comment.