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

gdext: API and code style guidelines #99

Open
Bromeon opened this issue Mar 25, 2023 · 0 comments
Open

gdext: API and code style guidelines #99

Bromeon opened this issue Mar 25, 2023 · 0 comments
Labels
new-topic A new topic to be added has been requested

Comments

@Bromeon
Copy link
Member

Bromeon commented Mar 25, 2023

Write a page about style-related topics that cannot easily be automated and covered by rustfmt/clippy.

APIs:

  • proc-macro attribute structure
  • redundancy / when to use multiple methods
  • #[must_use]

Implementation:

  • order of symbols within a file
  • order of #[derive(...)] traits
  • use statements

This issue serves as a collection of more topics, as they come up in PR reviews.

@Bromeon Bromeon added the new-topic A new topic to be added has been requested label Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-topic A new topic to be added has been requested
Projects
None yet
Development

No branches or pull requests

1 participant