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

ci: rustfmt all files #1716

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

YuanYuYuan
Copy link
Contributor

@YuanYuYuan YuanYuYuan commented Jan 15, 2025

cargo fmt doesn't respect the macro expansion, so some rust files behind the macros aren't formatted, especially the recent #1714. The feature of including all files has been discussed and decided not in the roadmap. rust-lang/rustfmt#4977.

This PR resolves the above issue as suggested in tokio. This also includes a style fix with the latest stable rustfmt v1.8.0.

Copy link

PR missing one of the required labels: {'new feature', 'breaking-change', 'bug', 'dependencies', 'documentation', 'enhancement', 'internal'}

@YuanYuYuan YuanYuYuan added enhancement Existing things could work better internal Changes not included in the changelog labels Jan 15, 2025
@Mallets Mallets merged commit 13b5af6 into eclipse-zenoh:main Jan 15, 2025
15 of 16 checks passed
@YuanYuYuan YuanYuYuan deleted the ci/rustfmt-all-files branch January 15, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Existing things could work better internal Changes not included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants