Skip to content

Conversation

@brendanzab
Copy link
Contributor

Default only contains a static method. It provides no extension methods that are commonly used in client code.

FromStr already has its only static method, from_str, re-exported in the prelude. Implementing the trait itself is less common.

ToStrRadix is being phased out in favor of using std::fmt::radix, and the to_str_radix method is rather specialised to warrant a global re-export.

r? @brson

@huonw
Copy link
Contributor

huonw commented Feb 23, 2014

FWIW, IterBytes is going to be completely removed, pending a snapshot. (Doesn't mean it can't disappear from the prelude now, though.)

@brendanzab
Copy link
Contributor Author

Cheers @huonw, updated the PR description.

@brendanzab
Copy link
Contributor Author

rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants