Skip to content

gdext: API and code style guidelines #99

@Bromeon

Description

@Bromeon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    new-topicA new topic to be added has been requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions