Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme example #1641

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Update readme example #1641

merged 1 commit into from
Feb 22, 2023

Conversation

terror
Copy link
Contributor

@terror terror commented Feb 16, 2023

This updates the README example to (1) get it to compile and (2) remove some of the unused function warnings. It does this by:

  • Importing sequence::Tuple
  • Adding a println to the main function that just outputs the content of the sample parsed hex color

This also adds a few formatting tweaks, these were just the product of formatting the code with rustfmt.

@terror terror requested a review from Geal as a code owner February 16, 2023 01:50
@Geal Geal merged commit 24cc945 into rust-bakery:main Feb 22, 2023
@Geal
Copy link
Collaborator

Geal commented Feb 22, 2023

Thanks! it looks nicer that way

@terror terror deleted the update-readme-example branch February 23, 2023 02:06
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.

None yet

2 participants