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

chore: fix formatting #96

Merged
merged 1 commit into from
Jun 14, 2023
Merged

chore: fix formatting #96

merged 1 commit into from
Jun 14, 2023

Conversation

TroyKomodo
Copy link
Member

@TroyKomodo TroyKomodo commented Jun 14, 2023

Proposed changes

This PR uses a tip provided in tokio-rs/async-stream#68 to force rust format to format the code.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

@TroyKomodo TroyKomodo requested review from a team as code owners June 14, 2023 20:26
@TroyKomodo TroyKomodo temporarily deployed to lint-test-build June 14, 2023 20:26 — with GitHub Actions Inactive
Copy link
Contributor

@SputNikPlop SputNikPlop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

tokio-rs/async-stream#68 pointed out we can
use the `stream!({ ... })` macro syntax to force rustfmt to format the
inner code block.
@TroyKomodo TroyKomodo temporarily deployed to lint-test-build June 14, 2023 21:48 — with GitHub Actions Inactive
@TroyKomodo TroyKomodo merged commit ac4d79b into main Jun 14, 2023
3 of 4 checks passed
@TroyKomodo TroyKomodo deleted the troy/fix-stream-format branch June 14, 2023 21:58
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

4 participants