Skip to content

implemented the fmt::Binary trait on Integer#105

Open
oaken-source wants to merge 1 commit intohashmismatch:masterfrom
oaken-source:integer_binary_trait
Open

implemented the fmt::Binary trait on Integer#105
oaken-source wants to merge 1 commit intohashmismatch:masterfrom
oaken-source:integer_binary_trait

Conversation

@oaken-source
Copy link

The Integer struct could implement the binary trait to allow usage of the {:b} formatter.

The implementation is fairly trivial, and similar to the implementations of the Debug and Display traits.

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.

1 participant