You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mcandre opened this issue
Feb 8, 2012
· 6 comments
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
so should int::from_str just take a radix option?
.. in which case, what's a good name for the fn that has a default of 10 as the radix?
currently: int::str produces a str from an int with base 10 int::to_str produces a str from an int in base whatever int::from_str produces an int from an str in base 10
I think to_str and from_str should not take a radix so they can conform to standard traits (from_str requiring static methods). str and to_str definitely seem backward to me.
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
int::to_str
has a radix option but notint::from_str
.The text was updated successfully, but these errors were encountered: